From 9ecf249f36f35bf00ece0d6e402ff9ed83c0e59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilfredo=20Sa=CC=81nchez?= Date: Mon, 25 Nov 2024 10:17:54 -0800 Subject: [PATCH] Move type hint to where it matters --- src/ims/auth/_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ims/auth/_provider.py b/src/ims/auth/_provider.py index 4ba7f736c..cb30fa802 100644 --- a/src/ims/auth/_provider.py +++ b/src/ims/auth/_provider.py @@ -427,8 +427,8 @@ async def authorizeRequest( self.authenticateRequest(request) userAuthorizations = await self.authorizationsForUser( - request.user, - eventID, # type: ignore[attr-defined] + request.user, # type: ignore[attr-defined] + eventID, ) request.authorizations = ( # type: ignore[attr-defined] userAuthorizations