fix(user): fix missing greenlet when invalidating cache

This commit is contained in:
MingxuanGame
2025-11-09 09:35:21 +08:00
parent 20ccd3e979
commit 2bd770a995
4 changed files with 4 additions and 7 deletions

View File

@@ -247,5 +247,5 @@ async def favourite_beatmapset(
db.add(favourite)
else:
await db.delete(existing_favourite)
await db.commit()
await cache_service.invalidate_user_beatmapsets_cache(current_user.id)
await db.commit()