Skip to content
This repository was archived by the owner on May 19, 2020. It is now read-only.

Commit 0fe89de

Browse files
committed
No omitempty on error in response
1 parent 2999a1e commit 0fe89de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

response.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type ErrorType string
77
type DebugData interface{}
88

99
type Response struct {
10-
Error ErrorObject `json:"error,omitempty"`
10+
Error ErrorObject `json:"error"`
1111
}
1212

1313
const (

0 commit comments

Comments
 (0)