mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
These two values are expected to be integers
This commit is contained in:
parent
e1f7ae655f
commit
8dd840f7d5
1 changed files with 2 additions and 2 deletions
|
@ -56,10 +56,10 @@ class Nodeinfo {
|
||||||
'version' => config('pixelfed.version'),
|
'version' => config('pixelfed.version'),
|
||||||
],
|
],
|
||||||
'usage' => [
|
'usage' => [
|
||||||
'localPosts' => $statuses,
|
'localPosts' => (int) $statuses,
|
||||||
'localComments' => 0,
|
'localComments' => 0,
|
||||||
'users' => [
|
'users' => [
|
||||||
'total' => $users,
|
'total' => (int) $users,
|
||||||
'activeHalfyear' => (int) $activeHalfYear,
|
'activeHalfyear' => (int) $activeHalfYear,
|
||||||
'activeMonth' => (int) $activeMonth,
|
'activeMonth' => (int) $activeMonth,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue