Skip to content

Commit 8806f5a

Browse files
snomiaoCopilot
andcommitted
Update app/api/router.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a524abb commit 8806f5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const router = t.router({
5656
.skip(skip)
5757
.limit(limit)
5858
.toArray(),
59-
CNRepos.countDocuments({}),
59+
CNRepos.countDocuments({ repository: { $type: "string", $ne: "" } }),
6060
]);
6161
const filteredRepos = await sflow(repos)
6262
.map((e) => (e as unknown as { repository: string }).repository)

0 commit comments

Comments
 (0)