fix: remove error status from json
This commit is contained in:
parent
e3d24ae1ef
commit
3bb02fcbb7
|
@ -13,7 +13,7 @@ type Err struct {
|
|||
// error small description
|
||||
Reason string `json:"reason"`
|
||||
// associated HTTP status
|
||||
Status int
|
||||
Status int `json:"-"`
|
||||
}
|
||||
|
||||
func (e Err) Error() string {
|
||||
|
|
Loading…
Reference in New Issue