log call ingest, TODO: remove request log
This commit is contained in:
parent
91099eb13e
commit
6439d9336b
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue