This commit is contained in:
Ramnique Singh 2025-08-18 10:52:47 +05:30
parent 0131c2a111
commit fef859bd95

View file

@ -227,11 +227,11 @@ export class MongoDBJobsRepository implements IJobsRepository {
} }
if (filters.createdAfter) { if (filters.createdAfter) {
query.createdAt = { ...query.createdAt, $gte: filters.createdAfter }; query.createdAt = { $gte: filters.createdAfter };
} }
if (filters.createdBefore) { if (filters.createdBefore) {
query.createdAt = { ...query.createdAt, $lte: filters.createdBefore }; query.createdAt = { $lte: filters.createdBefore };
} }
} }