Skip to content

Commit b39a365

Browse files
author
rubyist
committed
Code is an int
1 parent 8fe127a commit b39a365

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type Representation struct {
4646
}
4747

4848
type ObjectError struct {
49-
Code string `json:"code"`
49+
Code int `json:"code"`
5050
Message string `json:"message"`
5151
}
5252

0 commit comments

Comments
 (0)