Skip to content

Commit 7f09c05

Browse files
committed
flaskcord/utils/requires_authorization: add update info
1 parent c9860cb commit 7f09c05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flaskcord/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ def requires_authorization(view):
3737
"""A decorator for flask views which raises exception :py:class:`flaskcord.Unauthorized` if the user
3838
is not authorized from Discord OAuth2.
3939
40+
.. versionchanged:: 0.1.70
41+
You can now use this decorator within async views
42+
4043
"""
4144

4245
# TODO: Add support to validate scopes.

0 commit comments

Comments
 (0)