remodel json data for compatibility
This commit is contained in:
6
models/errorResponse.go
Normal file
6
models/errorResponse.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package models
|
||||
|
||||
type ErrorResponse struct {
|
||||
Error bool `json:"error,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user