(20241213) Mail Module Reworked!
This commit is contained in:
@@ -85,7 +85,7 @@ import asyncio
|
||||
|
||||
|
||||
# Related to Quart:
|
||||
mail_oauth_bp = Blueprint("mail_oauth", __name__)
|
||||
mail_oauth_request_bp = Blueprint("mail_oauth", __name__)
|
||||
|
||||
|
||||
# *****************************************************************************************************************
|
||||
@@ -105,7 +105,7 @@ mail_oauth_bp = Blueprint("mail_oauth", __name__)
|
||||
# *****************************************************************************************************************
|
||||
|
||||
|
||||
@mail_oauth_bp.record_once
|
||||
@mail_oauth_request_bp.record_once
|
||||
def init(blueprint_setup_state):
|
||||
|
||||
# This gets called when the blueprint is registered.
|
||||
@@ -116,7 +116,7 @@ def init(blueprint_setup_state):
|
||||
# ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@mail_oauth_bp.route("/oauth", methods = ["GET"])
|
||||
@mail_oauth_request_bp.route("/oauth", methods = ["GET"])
|
||||
@set_api_version(api_version = "1.0.0")
|
||||
@read_input(sanitize_headers = False, sanitize_data = False)
|
||||
@get_session_info(key = "X-Session-Token", session_coro = "get_session")
|
||||
|
||||
Reference in New Issue
Block a user