Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: new profiles less than 10 (#9962)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude authored Dec 19, 2023
1 parent 44c54fb commit 91378af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/admin/profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function getProfiles(filter = "recently updated", limit = 100) {

if (filter === "new") {
try {
profiles = await Profile.find({ isEnabled: true, views: { $lt: 20 } })
profiles = await Profile.find({ isEnabled: true, views: { $lt: 10 } })
.sort({ updatedAt: -1 })
.limit(limit);
} catch (e) {
Expand Down

0 comments on commit 91378af

Please sign in to comment.