feat: reset api method

This commit is contained in:
MingLiang Wang
2022-12-19 16:34:28 +08:00
parent b8e9da07bd
commit 43ff5ee8b0
+1 -1
View File
@@ -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;