mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-10 18:57:56 +08:00
✨ 删除cookie 对话
This commit is contained in:
@@ -61,7 +61,7 @@ class CookieClientManager(ClientManager):
|
||||
for cookie in universal_cookies:
|
||||
if not cookie.tags.get("temporary"):
|
||||
continue
|
||||
await config.delete_cookie(cookie.id)
|
||||
await config.delete_cookie_by_id(cookie.id)
|
||||
universal_cookie.id = cookie.id # 保持原有的id
|
||||
await config.add_cookie(universal_cookie)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user