From 1a2de6c88f3b9178d98fc5a0c36798713a2f4241 Mon Sep 17 00:00:00 2001 From: Baptiste Gelez Date: Thu, 25 Oct 2018 11:20:58 +0100 Subject: [PATCH] Fix the NodeInfo example Forgot to change that when I copy/pasted it from the source code. --- docs/FEDERATION.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/FEDERATION.md b/docs/FEDERATION.md index ae074067..d39f1798 100644 --- a/docs/FEDERATION.md +++ b/docs/FEDERATION.md @@ -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": {} }