Skip to content

Commit

Permalink
fix: cannot create folder under google drive / bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Nov 29, 2024
1 parent 27df45d commit 3cdd57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/http/google_drive.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cdd57f

Please sign in to comment.