Skip to content

Commit ec82387

Browse files
authored
Merge pull request #4562 from Obi-Wana/fix-helpdesk-image-attachement-upload
2 parents fd4440a + 96dbaff commit ec82387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/TicketAttachmentController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function storeTicketAttachments(Request $request, Ticket $ticket,
5151
}
5252

5353
$fileName = uniqid('', true).'.'.$file->getClientOriginalExtension();
54-
$file->storeAs('attachments', $fileName, 'attachments');
54+
$file->storeAs('', $fileName, 'attachment-files');
5555

5656
$attachment = new TicketAttachment();
5757
$attachment->user_id = $user->id;

0 commit comments

Comments
 (0)