From 5c525a9f407c55e15b1a3c7ee4f2f95bedc2db06 Mon Sep 17 00:00:00 2001 From: Jeremy Mouton Date: Mon, 6 Nov 2023 10:13:47 +0100 Subject: [PATCH] change recording struct --- utils/recording.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/recording.go b/utils/recording.go index 71c8e02..6fb09be 100644 --- a/utils/recording.go +++ b/utils/recording.go @@ -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))