Skip to content

Commit

Permalink
Update delete-cron.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rawcomposition committed Sep 18, 2024
1 parent c6708c8 commit d3791cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/hotspot/delete-cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse<
try {
const hotspots = await Hotspot.find({
needsDeleting: true,
noContent: { $ne: true },
noContent: { $ne: false },
"images.0": { $exists: false },
});

Expand Down

0 comments on commit d3791cd

Please sign in to comment.