From fcdd4e4518822e6a9e98bcab364cd57bebf07ea8 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sat, 24 Aug 2024 15:16:50 +0100 Subject: [PATCH] revert stringResponse change should have been a separate commit with other changes. --- models.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models.go b/models.go index 1fea2b5..0d1e181 100644 --- a/models.go +++ b/models.go @@ -5,9 +5,9 @@ import ( ) type stringResponse struct { - Response string `json:"response" example:"message"` - ErrorText string `json:"error" example:"No special symbols allowed."` - ErrorCode string `json:"error_code" example:"errorSpecialSymbols"` + Response string `json:"response" example:"message"` + Error/*Text*/ string `json:"error" example:"No special symbols allowed."` + // ErrorCode string `json:"error_code" example:"errorSpecialSymbols"` } type boolResponse struct {