mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ IO添加重新验证命令 (#554)
* 🐛 修复更新绑定时验证状态没有正确更新的bug * ✨ IO添加重新验证命令 * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -61,6 +61,7 @@ async def create_or_update_bind(
|
||||
status = BindStatus.SUCCESS
|
||||
else:
|
||||
bind.game_account = game_account
|
||||
bind.verify = verify
|
||||
status = BindStatus.UPDATE
|
||||
await session.commit()
|
||||
return status
|
||||
|
||||
Reference in New Issue
Block a user