mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🐛 修复回调状态不正确(KimigaiiWuyi/GenshinUID#583)
This commit is contained in:
parent
a180e46796
commit
9ffa131699
@ -381,7 +381,8 @@ class SQLA:
|
|||||||
retcode = await GsPush.full_insert_data(
|
retcode = await GsPush.full_insert_data(
|
||||||
uid=uid, bot_id=bot_id, **data
|
uid=uid, bot_id=bot_id, **data
|
||||||
)
|
)
|
||||||
return bool(retcode)
|
status = True if retcode == 0 else False
|
||||||
|
return status
|
||||||
|
|
||||||
async def change_push_status(
|
async def change_push_status(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user