From b675d07b219798365ee88da5987fc7c1452f2a74 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 23 Jul 2024 17:14:12 +0800 Subject: [PATCH] fix(api/qgis): fetchWorkspace --- src/api/qgis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/qgis.ts b/src/api/qgis.ts index 9fc3220..2b7cf8b 100644 --- a/src/api/qgis.ts +++ b/src/api/qgis.ts @@ -16,7 +16,7 @@ const axiosInstance = createAxiosInstance(axiosConfig); /** * 获取工作空间 */ -export function fetchWorkspace() { +export async function fetchWorkspace() { return axiosInstance.get("/qgis/process/list_qgis_temp_dir_with_structure/"); }