Fix the NodeInfo example
Forgot to change that when I copy/pasted it from the source code.
This commit is contained in:
parent
175a9edb77
commit
1a2de6c88f
@ -57,7 +57,7 @@ Plume exposes instance metadata with NodeInfo on the `/nodeinfo` URL.
|
|||||||
"version": "2.0",
|
"version": "2.0",
|
||||||
"software": {
|
"software": {
|
||||||
"name": "Plume",
|
"name": "Plume",
|
||||||
"version": env!("CARGO_PKG_VERSION")
|
"version": "0.2.0"
|
||||||
},
|
},
|
||||||
"protocols": ["activitypub"],
|
"protocols": ["activitypub"],
|
||||||
"services": {
|
"services": {
|
||||||
@ -67,10 +67,10 @@ Plume exposes instance metadata with NodeInfo on the `/nodeinfo` URL.
|
|||||||
"openRegistrations": true,
|
"openRegistrations": true,
|
||||||
"usage": {
|
"usage": {
|
||||||
"users": {
|
"users": {
|
||||||
"total": User::count_local(&*conn)
|
"total": 42
|
||||||
},
|
},
|
||||||
"localPosts": Post::count_local(&*conn),
|
"localPosts": 7878,
|
||||||
"localComments": Comment::count_local(&*conn)
|
"localComments": 1312
|
||||||
},
|
},
|
||||||
"metadata": {}
|
"metadata": {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user