소스 검색

Update NotificationTransformer, add modlog type

Daniel Supernault 5 년 전
부모
커밋
1a0c1afedf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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];
 	}