mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-21 19:51:00 +00:00
main: deliver more zeros in nodeinfo to not skew others' statistics
This commit is contained in:
parent
02680ffdac
commit
a7cb1867d0
1 changed files with 2 additions and 2 deletions
|
@ -285,9 +285,9 @@ async fn nodeinfo(axum::extract::State(state): axum::extract::State<State>) -> R
|
||||||
"openRegistrations": false,
|
"openRegistrations": false,
|
||||||
"usage": {
|
"usage": {
|
||||||
"users": {
|
"users": {
|
||||||
"total": followers_count,
|
"total": 0,
|
||||||
"activeHalfyear": followers_count,
|
"activeHalfyear": followers_count,
|
||||||
"activeMonth": followers_count,
|
"activeMonth": 0,
|
||||||
},
|
},
|
||||||
"localPosts": follows_count,
|
"localPosts": follows_count,
|
||||||
"localComments": 0
|
"localComments": 0
|
||||||
|
|
Loading…
Reference in a new issue