aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/trpc/routers/tags.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/trpc/routers/tags.ts b/packages/trpc/routers/tags.ts
index e84f52ac..ec633603 100644
--- a/packages/trpc/routers/tags.ts
+++ b/packages/trpc/routers/tags.ts
@@ -182,8 +182,8 @@ export const tagsAppRouter = router({
},
};
}
- acc[row.id].count++;
- acc[row.id].countAttachedBy[row.attachedBy]!++;
+ acc[row.id].count += row.count;
+ acc[row.id].countAttachedBy[row.attachedBy]! += row.count;
return acc;
},
{},