mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 01:01:07 +00:00
Merge branch 'nodeinfo' of https://github.com/Nutomic/lemmy into Nutomic-nodeinfo
This commit is contained in:
commit
59eca60239
|
@ -36,9 +36,9 @@ pub fn node_info() -> HttpResponse<Body> {
|
|||
"users": {
|
||||
"total": site_view.number_of_users
|
||||
},
|
||||
"local_posts": site_view.number_of_posts,
|
||||
"local_comments": site_view.number_of_comments,
|
||||
"open_registrations": true,
|
||||
"localPosts": site_view.number_of_posts,
|
||||
"localComments": site_view.number_of_comments,
|
||||
"openRegistrations": true,
|
||||
}
|
||||
});
|
||||
return HttpResponse::Ok()
|
||||
|
|
Loading…
Reference in a new issue