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 #4497.
This commit is contained in:
Roardom
2025-03-26 20:41:46 +00:00
parent c234b3be85
commit af06b4596b
+1 -1
View File
@@ -53,7 +53,7 @@ class AttachmentUpload extends Component
$fileName = uniqid('', true).'.'.$this->attachment->getClientOriginalExtension();
$this->attachment->storeAs('attachments', $fileName, 'attachments');
$this->attachment->storeAs('', $fileName, 'attachment-files');
$attachment = new TicketAttachment();
$attachment->user_id = $this->user->id;