mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-20 16:51:02 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user