chore(web): remove temporary workaround for CurrentWorkspace query

This commit is contained in:
QuantumGhost 2025-12-29 09:55:29 +08:00
parent 640661983a
commit 32366774a1
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ export const useCurrentWorkspace = () => {
return useQuery<ICurrentWorkspace>({
queryKey: commonQueryKeys.currentWorkspace,
// queryFn: () => post<ICurrentWorkspace>('/workspaces/current', { body: {} }),
queryFn: () => get<ICurrentWorkspace>('/workspaces/current'), // todo: Need to check later, POST or GET
queryFn: () => post<ICurrentWorkspace>('/workspaces/current'),
})
}