Fix webhook transactions never been logging
This commit is contained in:
parent
fb7796c475
commit
25212fbd1c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user