From 25212fbd1ca8255b8203aed69c8f2b9b3fde935d Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Thu, 29 Aug 2024 16:03:08 +0300 Subject: [PATCH] Fix webhook transactions never been logging --- webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook.go b/webhook.go index 82bd01d..2a62d08 100644 --- a/webhook.go +++ b/webhook.go @@ -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 {