We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3126355 commit 737a80eCopy full SHA for 737a80e
1 file changed
src/helpers/drive.ts
@@ -8,7 +8,8 @@ import type {
8
import { getAxiosInstance } from '@/helpers/http';
9
10
const PROXY_BASE = drive.CORS_PROXY ? `${drive.CORS_PROXY}/` : '';
11
-const DRIVE_API = `${PROXY_BASE}${drive.DRIVE_API_URL}`;
+// const DRIVE_API = `${PROXY_BASE}${drive.DRIVE_API_URL}`;
12
+const DRIVE_API = `${drive.DRIVE_API_URL}`;
13
14
const axiosInstance = getAxiosInstance();
15
@@ -50,7 +51,7 @@ export async function findItemsByCollabId(collabId: string): Promise<CollabItems
50
51
52
return { files, folders };
53
}
-
54
+
55
export async function createFolder(collabId: string, folderName: string) {
56
if (!folderName.startsWith('/')) {
57
folderName = `/${folderName}`;
0 commit comments