diff --git a/server/queries/link.ts b/server/queries/link.ts index deb88bf25..209e6d2d3 100644 --- a/server/queries/link.ts +++ b/server/queries/link.ts @@ -60,7 +60,7 @@ export const total = async (match: Match, params: TotalParams = {}) => { ); } - const [{ count }] = await query.count("id"); + const [{ count }] = await query.count("*"); return typeof count === "number" ? count : parseInt(count); };