Update NotificationTransformer

pull/2895/head
Daniel Supernault 2021-09-03 21:23:43 -06:00
rodzic 3c8c23a143
commit d7b6edc018
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -59,7 +59,10 @@ class NotificationTransformer extends Fractal\TransformerAbstract
'like' => 'favourite',
'comment' => 'comment',
'admin.user.modlog.comment' => 'modlog',
'tagged' => 'tagged'
'tagged' => 'tagged',
'group:comment' => 'group:comment',
'story:react' => 'story:react',
'story:comment' => 'story:comment'
];
return $verbs[$verb];
}
@ -90,7 +93,6 @@ class NotificationTransformer extends Fractal\TransformerAbstract
}
}
public function includeTagged(Notification $notification)
{
$n = $notification;