help desk notification ticketreceived fix

This commit is contained in:
merdan 2020-05-07 14:37:52 +05:00
parent f97c769766
commit 910e7e7169
1 changed files with 0 additions and 2 deletions

View File

@ -53,7 +53,6 @@ class TicketReceived extends Notification implements ShouldQueue
public function toMail($notifiable)
{
try{
Log::info('Mail Notification: ',$notifiable);
if($notifiable instanceof HelpTicket){
return (new MailMessage)
->line('The introduction to the notification.')
@ -87,6 +86,5 @@ class TicketReceived extends Notification implements ShouldQueue
public function toDatabase($notifiable)
{
return $this->ticket->toArray();
Log::info('Database Notification: ',$notifiable);
}
}