These two values are expected to be integers

pull/4208/head
Erwin Harte 2023-02-24 22:51:03 -08:00
rodzic e1f7ae655f
commit 8dd840f7d5
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -56,10 +56,10 @@ class Nodeinfo {
'version' => config('pixelfed.version'),
],
'usage' => [
'localPosts' => $statuses,
'localPosts' => (int) $statuses,
'localComments' => 0,
'users' => [
'total' => $users,
'total' => (int) $users,
'activeHalfyear' => (int) $activeHalfYear,
'activeMonth' => (int) $activeMonth,
],