1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-09-19 19:00:11 +00:00

revert stringResponse change

should have been a separate commit with other changes.
This commit is contained in:
Harvey Tindall 2024-08-24 15:16:50 +01:00
parent 6c30a1ff40
commit fcdd4e4518
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -5,9 +5,9 @@ import (
) )
type stringResponse struct { type stringResponse struct {
Response string `json:"response" example:"message"` Response string `json:"response" example:"message"`
ErrorText string `json:"error" example:"No special symbols allowed."` Error/*Text*/ string `json:"error" example:"No special symbols allowed."`
ErrorCode string `json:"error_code" example:"errorSpecialSymbols"` // ErrorCode string `json:"error_code" example:"errorSpecialSymbols"`
} }
type boolResponse struct { type boolResponse struct {