Skip to content

Commit

Permalink
fix: use verified field instead of approved field for bot document fi…
Browse files Browse the repository at this point in the history
…ltering in dashboard route
  • Loading branch information
chimpdev committed Nov 24, 2024
1 parent 23678be commit affcabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
queue: {},
importantCounts: {
emojis: await Emoji.countDocuments({ approved: false }) + await EmojiPack.countDocuments({ approved: false }),
bots: await Bot.countDocuments({ approved: false }),
bots: await Bot.countDocuments({ verified: false }),
templates: await Template.countDocuments({ approved: false }),
sounds: await Sound.countDocuments({ approved: false }),
themes: await Theme.countDocuments({ approved: false }),
Expand Down

0 comments on commit affcabf

Please sign in to comment.