Skip to content

Commit

Permalink
Merge pull request #2 from adiwitcoth/fix-create-folder-recursive
Browse files Browse the repository at this point in the history
Fixes FolderService@createFolderRecursive
  • Loading branch information
jnovermars authored Sep 7, 2022
2 parents bae6101 + af47c27 commit 33a509a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drive/FolderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function createFolderRecursive(?string $folder = null): ?array
$parentFolderId = null;
$createFolderResponse = null;
foreach($pathParts as $path) {
$buildPath .= $path;
$buildPath = sprintf('%s/%s', $buildPath, $path);
$folderMeta = $this->requestFolderMetadata($buildPath);

if($folderMeta !== null) {
Expand Down

0 comments on commit 33a509a

Please sign in to comment.