1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: log requests from json response util method

This commit is contained in:
Ferdinand Mütsch
2021-04-26 21:26:47 +02:00
parent 4ab657ebd5
commit c6fd43a964
8 changed files with 9 additions and 10 deletions

View File

@ -51,5 +51,5 @@ func (h *SummaryApiHandler) Get(w http.ResponseWriter, r *http.Request) {
return
}
utils.RespondJSON(w, http.StatusOK, summary)
utils.RespondJSON(w, r, http.StatusOK, summary)
}