Update StatusStatelessTransformer.php

pull/3511/head
Shlee 2022-05-21 16:09:19 +09:30 zatwierdzone przez GitHub
rodzic af3d313047
commit 347f1a6d53
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

@ -53,7 +53,7 @@ class StatusStatelessTransformer 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' => [],