From 3cdd57fb93d1d3ac39665650747369c389f0e74a Mon Sep 17 00:00:00 2001 From: lovehunter9 Date: Wed, 6 Nov 2024 13:47:19 +0800 Subject: [PATCH] fix: cannot create folder under google drive / bugfix --- packages/backend/http/google_drive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/http/google_drive.go b/packages/backend/http/google_drive.go index 54548ec..29cd0bd 100644 --- a/packages/backend/http/google_drive.go +++ b/packages/backend/http/google_drive.go @@ -1764,7 +1764,7 @@ func parseGoogleDrivePath(path string) (drive, name, dir, filename string) { //name = path[slashes[1]+1 : slashes[2]] if len(slashes) == 2 { - return drive, name, "/", "" + return drive, name, "/", path[slashes[1]+1:] } // 提取 dir 和 filename