Update NotificationTransformer

pull/1721/head
Daniel Supernault 2019-09-26 21:58:40 -06:00
rodzic 530149f0f4
commit abcc62a3fc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -49,10 +49,9 @@ class NotificationTransformer extends Fractal\TransformerAbstract
$verbs = [ $verbs = [
'follow' => 'follow', 'follow' => 'follow',
'mention' => 'mention', 'mention' => 'mention',
'reblog' => 'share', 'share' => 'reblog',
'share' => 'share',
'like' => 'favourite', 'like' => 'favourite',
'comment' => 'comment', 'comment' => 'mention',
]; ];
return $verbs[$verb]; return $verbs[$verb];
} }