Explorar el Código

Update NotificationTransformer, add modlog type

Daniel Supernault hace 5 años
padre
commit
1a0c1afedf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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];
 	}