Skip to content

Commit b6eb5c0

Browse files
committed
Merge pull request #210 from dietsche/patch-1
Update README.md
2 parents bd4234d + e04a73a commit b6eb5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ func (s *fixtureSource) Update(obj interface{}, r api2go.Request) (Responder, er
397397
```
398398

399399
If you want to return a jsonapi compatible error because something went wrong inside the CRUD methods, you can use our
400-
`HTTPError` struct, which can be created with `NewHTTPError`. This allowes you to set the error status code and add
400+
`HTTPError` struct, which can be created with `NewHTTPError`. This allows you to set the error status code and add
401401
as many information about the error as you like. See: [jsonapi error](http://jsonapi.org/format/#errors)
402402

403403
To fetch all objects of a specific resource you can choose to implement one or both of the following

0 commit comments

Comments
 (0)