We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0179e13 commit 4fe285aCopy full SHA for 4fe285a
src/shelter-supply/shelter-supply.job.ts
@@ -24,7 +24,7 @@ export class ShelterSupplyJob {
24
-priorityExpiryInterval,
25
).toString();
26
27
- const outatedSupplies = await this.prismaService.shelterSupply.findMany({
+ const outdatedSupplies = await this.prismaService.shelterSupply.findMany({
28
where: {
29
AND: [
30
{ priority: SupplyPriority.Urgent },
@@ -50,7 +50,7 @@ export class ShelterSupplyJob {
50
},
51
});
52
53
- outatedSupplies.forEach(async (s) => {
+ outdatedSupplies.forEach(async (s) => {
54
const { shelterId, supplyId } = s;
55
await this.shelterSupplyService.update({
56
data: {
0 commit comments