Skip to content

Commit 75c8d73

Browse files
perf: Workspace search api
1 parent 499a939 commit 75c8d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/system/api/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def option_user(
6262
if keyword:
6363
stmt = stmt.where(
6464
or_(
65-
UserModel.account == int(keyword),
65+
UserModel.account == keyword,
6666
UserModel.name == keyword,
6767
)
6868
)

0 commit comments

Comments
 (0)