Update NotificationTransformer, add modlog type

This commit is contained in:
Daniel Supernault 2020-03-18 17:02:03 -06:00
parent cff120ec6f
commit 1a0c1afedf
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -52,6 +52,7 @@ class NotificationTransformer extends Fractal\TransformerAbstract
'share' => 'reblog', 'share' => 'reblog',
'like' => 'favourite', 'like' => 'favourite',
'comment' => 'mention', 'comment' => 'mention',
'admin.user.modlog.comment' => 'modlog'
]; ];
return $verbs[$verb]; return $verbs[$verb];
} }