From f81bcdcadf63ffe147ecaa2966f1159fe8d6afd4 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Sat, 30 Mar 2024 16:27:23 +0200 Subject: [PATCH] Fix --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.go b/http.go index fb78d34..d3a42e7 100644 --- a/http.go +++ b/http.go @@ -18,7 +18,7 @@ func readResponseBody(r *http.Request) (monobank.Transaction, error) { //w.WriteHeader(http.StatusOK) //return - body = []byte("{\"type\":\"StatementItem\",\"data\":{\"account\":\"4723djMLsLOCzhoeYjxqRw\",\"statementItem\":{\"id\":\"cSMr2xlFsfWPFeDLTg\",\"time\":1711806353,\"description\":\"Скасування. Bolt\",\"mcc\":4121,\"originalMcc\":4121,\"amount\":10300,\"operationAmount\":10300,\"currencyCode\":980,\"commissionRate\":0,\"cashbackAmount\":0,\"balance\":7974533,\"hold\":false}}}") + //body = []byte("{\"type\":\"StatementItem\",\"data\":{\"account\":\"4723djMLsLOCzhoeYjxqRw\",\"statementItem\":{\"id\":\"cSMr2xlFsfWPFeDLTg\",\"time\":1711806353,\"description\":\"Скасування. Bolt\",\"mcc\":4121,\"originalMcc\":4121,\"amount\":10300,\"operationAmount\":10300,\"currencyCode\":980,\"commissionRate\":0,\"cashbackAmount\":0,\"balance\":7974533,\"hold\":false}}}") LogString(string(body)) // check empty body