Skip to content

Commit

Permalink
Fix API dumps for Laravel 10 [API-385]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Aug 24, 2023
1 parent 3a89f69 commit 72a0e8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/Dump/AbstractDumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function getResources()
*/
protected function getDumpPath(string $subpath): string
{
return Storage::disk('dumps')->getDriver()->getAdapter()->getPathPrefix() . $subpath;
return Storage::disk('dumps')->path($subpath);
}

/**
Expand Down
2 changes: 2 additions & 0 deletions storage/dumps/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit 72a0e8d

Please sign in to comment.