[backend/controllers] Nodeinfo note count should be returned as posts, not comments
This commit is contained in:
parent
bc12e7fbcb
commit
053ff63add
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue