From 2718fed056fe7071b901ce6b6fb859ef517f9eb2 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 13 Mar 2023 16:05:12 +0000 Subject: [PATCH] fix: post count excluding comments --- src/models/site.model.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/site.model.ts b/src/models/site.model.ts index 9eef43cb..ed897f28 100644 --- a/src/models/site.model.ts +++ b/src/models/site.model.ts @@ -498,6 +498,7 @@ export async function getStat({ characterId }: { characterId: string }) { indexer.getNotes({ characterId, sources: "xlog", + tags: ["post"], limit: 0, }), ])