mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: Workspace search api
This commit is contained in:
@@ -62,7 +62,7 @@ async def option_user(
|
||||
if keyword:
|
||||
stmt = stmt.where(
|
||||
or_(
|
||||
UserModel.account == int(keyword),
|
||||
UserModel.account == keyword,
|
||||
UserModel.name == keyword,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user