mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
feat: reset api method
This commit is contained in:
@@ -44,7 +44,7 @@ export async function getWorkspaceDetail(
|
||||
): Promise<WorkspaceDetail | null> {
|
||||
const data = await request<WorkspaceDetail | null>({
|
||||
url: `/api/workspace/${params.id}`,
|
||||
method: 'PUT',
|
||||
method: 'GET',
|
||||
});
|
||||
|
||||
return data.data;
|
||||
|
||||
Reference in New Issue
Block a user