From 418577c2b36deb0773a1f3957fd720f47a6b2c3a Mon Sep 17 00:00:00 2001 From: Dany Date: Mon, 23 Oct 2023 20:16:53 +0200 Subject: [PATCH] Update auth_static.py --- core/cat/routes/static/auth_static.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cat/routes/static/auth_static.py b/core/cat/routes/static/auth_static.py index acd76b84..a6492df0 100644 --- a/core/cat/routes/static/auth_static.py +++ b/core/cat/routes/static/auth_static.py @@ -7,6 +7,6 @@ def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) async def __call__(self, scope, receive, send) -> None: - reqeust = Request(scope, receive=receive) - check_api_key(reqeust.headers.get("access_token")) + request = Request(scope, receive=receive) + check_api_key(request.headers.get("access_token")) await super().__call__(scope, receive, send) \ No newline at end of file