From 4c17d209c3711af689abae5225aa71965afed360 Mon Sep 17 00:00:00 2001 From: VChet <17050347+VChet@users.noreply.github.com> Date: Tue, 24 Aug 2021 19:15:09 +0500 Subject: [PATCH] fix(topics): update filter --- api/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/styles.ts b/api/styles.ts index f893dae..47eb0ba 100644 --- a/api/styles.ts +++ b/api/styles.ts @@ -197,7 +197,7 @@ export function getAllTopics(_req: Request, res: Response) { { $match: { $and: [ { count: { $gte: 3 } }, - { _id: { $nin: ["css", "theme", "awesome", "stylish", "stylus", /usercss/, /userstyle/] } } + { _id: { $nin: ["css", "awesome", "stylish", "stylus", /theme/, /usercss/, /userstyle/] } } ] } }, { $project: { _id: 0, name: "$_id", count: 1 } }