diff --git a/LittlePaimon/utils/api.py b/LittlePaimon/utils/api.py
index 12fe0d7..19da39d 100644
--- a/LittlePaimon/utils/api.py
+++ b/LittlePaimon/utils/api.py
@@ -168,15 +168,16 @@ async def check_retcode(data: dict, cookie_info, cookie_type: str, user_id: str,
cookie_info.status = 2
if cookie_type == 'private':
cookie_info.status = 2
+ await cookie_info.save()
logger.info('原神Cookie', f'用户{user_id}的私人cookie{uid}已达到每日30次查询上限')
elif cookie_type == 'public':
cookie_info.status = 2
+ await cookie_info.save()
logger.info('原神Cookie', f'{cookie_info.id}号公共cookie已达到每日30次查询上限')
else:
await PublicCookie.filter(cookie=cookie_info.cookie).update(status=2)
await cookie_info.delete()
logger.info('原神Cookie', f'UID{cookie_info.uid}使用的缓存cookie已达到每日30次查询上限')
- await cookie_info.save()
return False
else:
if cookie_type == 'public':