QuackieMackie
Active member
Okay so I had this working fine but I must have changed something and now it's having issues.
Alerts are being sent like this:
Template
But when an alert is sent, I recieve the little red 1 on my bell icon, only when I check the alerts nothing is appearing there. I'm overlooking something I just can't seem to figure out what it is i've done.
Alerts are being sent like this:
PHP:
$alertRepo->alertFromUser(
$opponentUser,
$challengerUser,
'syl_userpet',
$duel->duel_id,
'duel_challenge',
[
'challenger_name' => $challengerPet->User->username,
],
);
Template
alert_syl_userpet_duel_challenge
:
HTML:
{{ $extra.challenger_name }} has challenged your pet to a duel!
But when an alert is sent, I recieve the little red 1 on my bell icon, only when I check the alerts nothing is appearing there. I'm overlooking something I just can't seem to figure out what it is i've done.