diff --git a/http/responses.go b/http/responses.go index 0619461..8801ae7 100644 --- a/http/responses.go +++ b/http/responses.go @@ -7,14 +7,12 @@ import ( ) func ToResponse(rawData interface{}, status int) events.APIGatewayV2HTTPResponse { - log.Debug("RawData: ", rawData) var response string jsonBytes, err := json.Marshal(rawData) if err != nil { log.Error("Error converting to json ", rawData) response = "[]" } else { - log.Debug("JSON:", string(jsonBytes)) response = string(jsonBytes) if response == "null" { response = "[]"