Skip to content

Commit a7ae2cf

Browse files
committed
Fixed to consider createdAt as updatedAt is not being used
1 parent b05bb71 commit a7ae2cf

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/shelter-supply/shelter-supply.job.ts

+3-12
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,9 @@ export class ShelterSupplyJob {
2929
AND: [
3030
{ priority: SupplyPriority.Urgent },
3131
{
32-
OR: [
33-
{
34-
createdAt: {
35-
lte: expiryDate,
36-
},
37-
},
38-
{
39-
updatedAt: {
40-
lte: expiryDate,
41-
},
42-
},
43-
],
32+
createdAt: {
33+
lte: expiryDate,
34+
},
4435
},
4536
],
4637
},

0 commit comments

Comments
 (0)