修改句子歧义

This commit is contained in:
San Liy 2023-12-21 00:17:39 +08:00
parent 8be8f43ca7
commit 958c94b811

View File

@ -143,7 +143,7 @@ async def redirect(rqt: Request):
q_user = await User.filter(state=rqt_state).get_or_none() q_user = await User.filter(state=rqt_state).get_or_none()
if q_user is None: if q_user is None:
logger.warn(f'该请求不是从QQ中请求的链接') logger.warn(f'该请求不是从QQ中请求的链接')
return text('从QQ处申请绑定') return text('从QQ处申请绑定')
msg = Message(content='已在绑定中,可能因为意外而失败\n查询结果使用\n/gitea -ust', room_id=q_user.id) msg = Message(content='已在绑定中,可能因为意外而失败\n查询结果使用\n/gitea -ust', room_id=q_user.id)
await app.ctx.sio.emit('sendMessage', msg.to_json()) await app.ctx.sio.emit('sendMessage', msg.to_json())