Skip to content

Commit 6a61a97

Browse files
perf: Workspace api
1 parent 75c8d73 commit 6a61a97

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/apps/system/api/workspace.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ async def pager(
7878
oid: Optional[int] = Query(None, description="空间ID(仅admin用户生效)"),
7979
):
8080
if current_user.isAdmin:
81-
if not oid:
82-
raise RuntimeError('oid miss error')
8381
workspace_id = oid
8482
else:
8583
workspace_id = current_user.oid

0 commit comments

Comments
 (0)