POST:/users works
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
package ginresp
|
||||
|
||||
type sendAPIError struct {
|
||||
type apiError struct {
|
||||
Success bool `json:"success"`
|
||||
Error int `json:"error"`
|
||||
ErrorHighlight int `json:"errhighlight"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type internAPIError struct {
|
||||
Success bool `json:"success"`
|
||||
ErrorID int `json:"errid,omitempty"`
|
||||
Message string `json:"message"`
|
||||
RawError error `json:"errorObject,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user