From 645ee5893765800092141c7bc6afbc5f5245da70 Mon Sep 17 00:00:00 2001 From: Dot-Rar Date: Sat, 16 May 2020 17:22:18 +0100 Subject: [PATCH] debug --- utils/discord/endpoints.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/discord/endpoints.go b/utils/discord/endpoints.go index 7bf8718..12d0465 100644 --- a/utils/discord/endpoints.go +++ b/utils/discord/endpoints.go @@ -4,6 +4,7 @@ import ( "bytes" "encoding/json" "github.com/TicketsBot/GoPanel/config" + "github.com/apex/log" "github.com/gin-gonic/contrib/sessions" "github.com/pasztorpisti/qs" "github.com/pkg/errors" @@ -117,5 +118,6 @@ func (e *Endpoint) Request(store sessions.Session, contentType *ContentType, bod return err, nil } + log.Info(string(content)) return json.Unmarshal(content, response), res }