Fix webhook transactions never been logging

This commit is contained in:
Illya Marchenko 2024-08-29 16:03:08 +03:00
parent fb7796c475
commit 25212fbd1c
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

View File

@ -18,7 +18,7 @@ func handleWebhook(w http.ResponseWriter, r *http.Request) {
}
// log body string
app.LogString(string(body))
defer app.LogString(string(body))
// check request empty body
if len(string(body)) == 0 {