Skip to content

Commit e336c5e

Browse files
committed
handle error according to jsonapi in before request during oauth2 verification
1 parent d10a65f commit e336c5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flask_rest_jsonapi/api.py

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def oauth_manager(self, oauth_manager):
9696
:param oauth_manager: the oauth manager
9797
"""
9898
@self.app.before_request
99+
@jsonapi_exception_formatter
99100
def before_request():
100101
endpoint = request.endpoint
101102
resource = None

0 commit comments

Comments
 (0)