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

View File

@@ -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 {