mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Merge pull request #4208 from jochie/nodeinfo-tweak
These two values are expected to be integers
This commit is contained in:
commit
87a7a2767c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue