close #2431 Fixed: Notification generate signed url broken (#2za2u9y , #2za30n8)

This commit is contained in:
Cüneyt Şentürk
2022-06-07 12:21:04 +03:00
parent 7359e246c3
commit d1f987c720
6 changed files with 19 additions and 0 deletions

View File

@ -58,6 +58,15 @@ abstract class Notification extends BaseNotification implements ShouldQueue
return $message;
}
/**
* Initialise the array representation of the notification.
*
*/
public function initArrayMessage(): void
{
app('url')->defaults(['company_id' => company_id()]);
}
public function getSubject(): string
{
return !empty($this->custom_mail['subject'])