Skip to content

Commit

Permalink
Merge pull request #23 from Labbs/change-recording-struct
Browse files Browse the repository at this point in the history
change recording struct
  • Loading branch information
moutonjeremy authored Nov 6, 2023
2 parents 4270df7 + 5c525a9 commit 581043c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/recording.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func PushRecording(data string) {
log.Println(err)
}

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

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

0 comments on commit 581043c

Please sign in to comment.