pinsvc: do not set error descriptions
It is duplicated with "reason".
This commit is contained in:
parent
bb8e8725e8
commit
ff488e1fec
|
@ -68,8 +68,7 @@ func NewConfig() *Config {
|
|||
cfg.APIErrorFunc = func(err error, status int) error {
|
||||
return pinsvc.APIError{
|
||||
Details: pinsvc.APIErrorDetails{
|
||||
Reason: err.Error(),
|
||||
Details: err.Error(),
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user