diff --git a/app/Util/Site/Nodeinfo.php b/app/Util/Site/Nodeinfo.php index 3cf3b156..166b6bc6 100644 --- a/app/Util/Site/Nodeinfo.php +++ b/app/Util/Site/Nodeinfo.php @@ -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, ],