Skip to content

Commit 3cdd57f

Browse files
committed
fix: cannot create folder under google drive / bugfix
1 parent 27df45d commit 3cdd57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/http/google_drive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ func parseGoogleDrivePath(path string) (drive, name, dir, filename string) {
17641764
//name = path[slashes[1]+1 : slashes[2]]
17651765

17661766
if len(slashes) == 2 {
1767-
return drive, name, "/", ""
1767+
return drive, name, "/", path[slashes[1]+1:]
17681768
}
17691769

17701770
// 提取 dir 和 filename

0 commit comments

Comments
 (0)