mirror of
https://github.com/langgenius/dify.git
synced 2026-02-01 00:21:14 +08:00
chore(web): remove temporary workaround for CurrentWorkspace query
This commit is contained in:
parent
640661983a
commit
32366774a1
@ -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'),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user