Skip to content

Commit 45c9a25

Browse files
authored
Fix typo
1 parent d32f547 commit 45c9a25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)