Update StatusTransformer.php

pull/3511/head
Shlee 2022-05-21 16:06:56 +09:30 zatwierdzone przez GitHub
rodzic d5225d9197
commit af3d313047
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -56,7 +56,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
'mentions' => StatusMentionService::get($status->id),
'pf_type' => $status->type ?? $status->setType(),
'reply_count' => (int) $status->reply_count,
'comments_disabled' => $status->comments_disabled ? true : false,
'comments_disabled' => (bool)$status->comments_disabled,
'thread' => false,
'replies' => [],
'parent' => [],