From c3a5e96ac9e4954fffd335ff507353220dee051f Mon Sep 17 00:00:00 2001 From: Trim21 Date: Thu, 22 Aug 2024 13:23:23 +0800 Subject: [PATCH] minor refactor --- server/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/auth.py b/server/auth.py index ddf3f6d..2d4b616 100644 --- a/server/auth.py +++ b/server/auth.py @@ -26,7 +26,7 @@ async def retrieve_user_from_session( - session: dict[str, Any], req: ASGIConnection[Any, Any, Any, Any] + session: dict[str, Any], _: ASGIConnection[Any, Any, Any, Any] ) -> User | None: try: return __user_from_session(session)