[backend/controllers] Nodeinfo note count should be returned as posts, not comments

This commit is contained in:
Laura Hausmann 2024-02-16 05:39:01 +01:00
parent bc12e7fbcb
commit 053ff63add
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -45,8 +45,8 @@ public class NodeInfoController(IOptions<Config.InstanceSection> config, Databas
ActiveMonth = 0, ActiveMonth = 0,
ActiveHalfYear = 0 ActiveHalfYear = 0
}, },
LocalComments = localPosts, LocalComments = 0,
LocalPosts = 0 LocalPosts = localPosts
}, },
Metadata = new NodeInfoResponse.NodeInfoMetadata { Metadata = new NodeInfoResponse.NodeInfoMetadata {
//FIXME Implement members //FIXME Implement members