These two values are expected to be integers

This commit is contained in:
Erwin Harte 2023-02-24 22:51:03 -08:00
parent e1f7ae655f
commit 8dd840f7d5

View file

@ -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,
],