Skip to content

Commit 581043c

Browse files
authored
Merge pull request #23 from Labbs/change-recording-struct
change recording struct
2 parents 4270df7 + 5c525a9 commit 581043c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/recording.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func PushRecording(data string) {
1919
log.Println(err)
2020
}
2121

22-
recording := []byte(`{"spendy_host":"` + hostname + `","data":"` + data + `"}`)
22+
recording := []byte(data)
2323
var url string = "https://" + RecordingUrl + "/recording/" + hostname
2424

2525
r, err := http.NewRequest("POST", url, bytes.NewBuffer(recording))

0 commit comments

Comments
 (0)