From f4e3bb1529a9ed18874d53aae771891832684167 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sun, 26 Oct 2025 09:00:37 +0100 Subject: [PATCH] Fix typo in Authlib cache for OAuth --- classquiz/oauth/init_oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classquiz/oauth/init_oauth.py b/classquiz/oauth/init_oauth.py index 91c6bcf..24f9539 100644 --- a/classquiz/oauth/init_oauth.py +++ b/classquiz/oauth/init_oauth.py @@ -29,7 +29,7 @@ class RedisCache: await redis.set(f"authlib:{key}", data, ex=expires) async def delete(self, key: str) -> None: - await redis.delete(key) + await redis.delete(f"authlib:{key}") @lru_cache()