okay
This commit is contained in:
parent
696d2214d3
commit
017cd175fe
|
|
@ -22,7 +22,9 @@ public function __construct()
|
||||||
*/
|
*/
|
||||||
public function handle(MessageSent $event): void
|
public function handle(MessageSent $event): void
|
||||||
{
|
{
|
||||||
ProjectMailing::where('id', $event->data['mailing']['id'])
|
if (array_key_exists('mailing' ,$event->data)) {
|
||||||
->update(['status' => 'success']);
|
ProjectMailing::where('id', $event->data['mailing']['id'])
|
||||||
|
->update(['status' => 'success']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue