Skip to content

Commit 50f0dab

Browse files
snomiaoCopilot
andauthored
Update app/api/router.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent be2cbfd commit 50f0dab

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
@@ -67,7 +67,7 @@ export const router = t.router({
6767
.skip(skip)
6868
.limit(limit)
6969
.toArray(),
70-
CNRepos.countDocuments({}),
70+
CNRepos.countDocuments({ repository: { $type: "string", $ne: "" } }),
7171
]);
7272
const filteredRepos = await sflow(repos)
7373
.map((e) => (e as unknown as { repository: string }).repository)

0 commit comments

Comments
 (0)