main: deliver more zeros in nodeinfo to not skew others' statistics

This commit is contained in:
Astro 2023-10-18 17:23:57 +02:00
parent 02680ffdac
commit a7cb1867d0

View file

@ -285,9 +285,9 @@ async fn nodeinfo(axum::extract::State(state): axum::extract::State<State>) -> R
"openRegistrations": false,
"usage": {
"users": {
"total": followers_count,
"total": 0,
"activeHalfyear": followers_count,
"activeMonth": followers_count,
"activeMonth": 0,
},
"localPosts": follows_count,
"localComments": 0