mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 04:19:31 +02:00
Minor docs fix
This commit is contained in:
@@ -8,7 +8,7 @@ from flask import current_app
|
|||||||
# Decorators.
|
# Decorators.
|
||||||
|
|
||||||
def requires_authorization(view):
|
def requires_authorization(view):
|
||||||
"""A decorator for flask views which raises exception :py:class:`flask_discord.exceptions.Unauthorized` if the user
|
"""A decorator for flask views which raises exception :py:class:`flask_discord.Unauthorized` if the user
|
||||||
is not authorized from Discord OAuth2.
|
is not authorized from Discord OAuth2.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user