log call ingest, TODO: remove request log

This commit is contained in:
Daniel Ponte 2024-07-29 15:59:42 -04:00
parent 91099eb13e
commit 6439d9336b

View file

@ -108,9 +108,9 @@ func (h *HTTPIngestor) routeCallUpload(w http.ResponseWriter, r *http.Request) {
return return
} }
w.Write([]byte("Call imported successfully.")) log.Info().Str("id", dbCall.String()).Int("system", call.System).Int("tgid", call.Talkgroup).Msg("ingested")
_ = dbCall w.Write([]byte("Call imported successfully."))
} }
func (car *callUploadRequest) fill(r *http.Request) error { func (car *callUploadRequest) fill(r *http.Request) error {