Skip to content

Commit 8ded23d

Browse files
authored
Merge pull request #186 from satwikkansal/master
Fix typos in docs
2 parents f34a12d + 45c9a25 commit 8ded23d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/errors.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Errors
55

66
.. currentmodule:: flask_rest_jsonapi
77

8-
JSONAPI 1.0 specification recommand to return errors like that:
8+
JSONAPI 1.0 specification recommend to return errors like that:
99

1010
.. sourcecode:: http
1111

docs/permission.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The permission manager must be a function that looks like this:
4141

4242
Flask-REST-JSONAPI use a decorator to check permission for each method named has_permission. You can provide args and kwargs to this decorators so you can retrieve this args and kwargs in the permission_manager. The default usage of the permission system does not provides any args or kwargs to the decorator.
4343

44-
If permission is denied I recommand to raise exception like that:
44+
If permission is denied I recommend to raise exception like that:
4545

4646
.. code-block:: python
4747
@@ -83,4 +83,4 @@ Example:
8383
api = Api()
8484
api.init_app(app)
8585
api.permission_manager(permission_manager) # initialize permission system first
86-
api.oauth_manager(oauth2) # initialize oauth support second
86+
api.oauth_manager(oauth2) # initialize oauth support second

0 commit comments

Comments
 (0)