Skip to content

Commit e7cb117

Browse files
nikajorjikaCopilot
andauthored
Update src/StoreManager.php
Co-authored-by: Copilot <[email protected]>
1 parent c8da3ba commit e7cb117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StoreManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function create(): MessageStore
1919
}
2020

2121
return match ($driver) {
22-
'file' => new FileStorage(config('inbox.store.file.path')),
22+
'file' => new FileStorage(config('inbox.store.file.path', storage_path('mailbox'))),
2323
default => throw new \InvalidArgumentException("Unsupported storage driver [{$driver}]"),
2424
};
2525
}

0 commit comments

Comments
 (0)