Deploy Ladill Meet / deploy (push) Failing after 7s
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
773 B
PHP
33 lines
773 B
PHP
<?php
|
|
|
|
namespace App\Notifications;
|
|
|
|
use App\Models\AiSummary;
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Notifications\Notification;
|
|
|
|
class AiSummaryReadyNotification extends Notification
|
|
{
|
|
use Queueable;
|
|
|
|
public function __construct(
|
|
public AiSummary $summary,
|
|
) {}
|
|
|
|
public function via(object $notifiable): array
|
|
{
|
|
return ['database'];
|
|
}
|
|
|
|
public function toArray(object $notifiable): array
|
|
{
|
|
return [
|
|
'type' => 'ai_summary_ready',
|
|
'title' => 'AI summary ready',
|
|
'body' => 'Summary for '.$this->summary->session->room->title.' is ready.',
|
|
'url' => route('meet.summaries.show', $this->summary),
|
|
'summary_uuid' => $this->summary->uuid,
|
|
];
|
|
}
|
|
}
|