From 8a839210280a388000e2c4698f71b4e5e5795abe Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 17 Jul 2025 14:11:55 +0800 Subject: [PATCH] perf: Workspace api --- backend/apps/system/api/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/system/api/workspace.py b/backend/apps/system/api/workspace.py index c541d1af..fb8a1fb6 100644 --- a/backend/apps/system/api/workspace.py +++ b/backend/apps/system/api/workspace.py @@ -45,7 +45,7 @@ async def option_pager( pagination=pagination, ) -@router.get("/uws/option", response_model=UserWsOption) +@router.get("/uws/option", response_model=UserWsOption | None) async def option_user( session: SessionDep, current_user: CurrentUser,