diff --git a/syncapi/sync/requestpool.go b/syncapi/sync/requestpool.go index 8c65d5637..69efd8aa8 100644 --- a/syncapi/sync/requestpool.go +++ b/syncapi/sync/requestpool.go @@ -15,8 +15,6 @@ package sync import ( - "encoding/json" - "fmt" "net/http" "time" @@ -126,10 +124,6 @@ func (rp *RequestPool) OnIncomingSyncRequest(req *http.Request, device *authtype if !syncData.IsEmpty() || hasTimedOut { logger.WithField("next", syncData.NextBatch).WithField("timed_out", hasTimedOut).Info("Responding") - - j, _ := json.MarshalIndent(syncData, "", " ") - fmt.Println(string(j)) - return util.JSONResponse{ Code: http.StatusOK, JSON: syncData,