Skip to content

Commit af06b45

Browse files
committed
fix: specifying ticket file attachment disk
`attachments` is not the name of a disk, but `attachment-files` is. Also remove the path prefix since this disk only stores attachment files. Regression from HDInnovations#4497.
1 parent c234b3b commit af06b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Livewire/AttachmentUpload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ final public function updatedAttachment(): void
5353

5454
$fileName = uniqid('', true).'.'.$this->attachment->getClientOriginalExtension();
5555

56-
$this->attachment->storeAs('attachments', $fileName, 'attachments');
56+
$this->attachment->storeAs('', $fileName, 'attachment-files');
5757

5858
$attachment = new TicketAttachment();
5959
$attachment->user_id = $this->user->id;

0 commit comments

Comments
 (0)