Skip to content

Commit eb771ee

Browse files
fix: function to get upload directory
1 parent 8ae427b commit eb771ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Traits/Components/UploadTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ trait UploadTrait
3333
*/
3434
public function getUploadDirectoryAttribute()
3535
{
36-
$directory = $this->directory ?: 'common';
36+
$directory = $this->attachments_directory ?: 'common';
3737

3838
$result = $this->uploads_directory.'/'.$directory;
3939
directory($result);

0 commit comments

Comments
 (0)