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 }