working ticket
This commit is contained in:
@@ -75,10 +75,9 @@ final class TicketCreate extends Component
|
||||
/**
|
||||
* Store a new helpdesk ticket.
|
||||
*/
|
||||
public function save(TicketService $tickets): mixed
|
||||
public function save(TicketService $tickets)
|
||||
{
|
||||
$this->validate();
|
||||
|
||||
$this->validate([
|
||||
'attachments.*' => 'file|max:'.config('helpdesk.max_upload_kb').'|mimes:'.implode(',', config('helpdesk.allowed_mimes')),
|
||||
'tag_ids.*' => 'integer|exists:helpdesk_tags,id',
|
||||
|
||||
Reference in New Issue
Block a user