mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-09 05:25:53 +08:00
🐛 修复某些情况下绑定uid
失效
This commit is contained in:
parent
857d02f2e5
commit
77ea2a02e7
@ -57,7 +57,7 @@ class SQLA:
|
|||||||
return -1
|
return -1
|
||||||
if await self.bind_exists(user_id):
|
if await self.bind_exists(user_id):
|
||||||
uid_list = await self.get_bind_uid_list(user_id)
|
uid_list = await self.get_bind_uid_list(user_id)
|
||||||
if uid_list and new_uid not in uid_list:
|
if new_uid not in uid_list:
|
||||||
uid_list.append(new_uid)
|
uid_list.append(new_uid)
|
||||||
else:
|
else:
|
||||||
return -2
|
return -2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user