Fix the NodeInfo example

Forgot to change that when I copy/pasted it from the source
code.
This commit is contained in:
Baptiste Gelez 2018-10-25 11:20:58 +01:00
parent 175a9edb77
commit 1a2de6c88f

View file

@ -57,7 +57,7 @@ Plume exposes instance metadata with NodeInfo on the `/nodeinfo` URL.
"version": "2.0",
"software": {
"name": "Plume",
"version": env!("CARGO_PKG_VERSION")
"version": "0.2.0"
},
"protocols": ["activitypub"],
"services": {
@ -67,10 +67,10 @@ Plume exposes instance metadata with NodeInfo on the `/nodeinfo` URL.
"openRegistrations": true,
"usage": {
"users": {
"total": User::count_local(&*conn)
"total": 42
},
"localPosts": Post::count_local(&*conn),
"localComments": Comment::count_local(&*conn)
"localPosts": 7878,
"localComments": 1312
},
"metadata": {}
}