chore(daily-challenge): update redis key

This commit is contained in:
MingxuanGame
2025-08-09 14:39:20 +00:00
parent 5fe3f36055
commit dcdbac8cb0

View File

@@ -47,7 +47,7 @@ async def daily_challenge_job():
today = datetime.now(UTC).date()
redis = get_redis()
key = f"daily_challenge:{today.year}-{today.month}-{today.day}"
key = f"daily_challenge:{today}"
if not await redis.exists(key):
return
try: