Parcourir la source

Update NotificationTransformer, add modlog type

Daniel Supernault il y a 5 ans
Parent
commit
1a0c1afedf
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app/Transformer/Api/Mastodon/v1/NotificationTransformer.php

+ 1 - 0
app/Transformer/Api/Mastodon/v1/NotificationTransformer.php

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