Skip to content

Commit 4fe285a

Browse files
committed
Fixed typo
1 parent 0179e13 commit 4fe285a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class ShelterSupplyJob {
2424
-priorityExpiryInterval,
2525
).toString();
2626

27-
const outatedSupplies = await this.prismaService.shelterSupply.findMany({
27+
const outdatedSupplies = await this.prismaService.shelterSupply.findMany({
2828
where: {
2929
AND: [
3030
{ priority: SupplyPriority.Urgent },
@@ -50,7 +50,7 @@ export class ShelterSupplyJob {
5050
},
5151
});
5252

53-
outatedSupplies.forEach(async (s) => {
53+
outdatedSupplies.forEach(async (s) => {
5454
const { shelterId, supplyId } = s;
5555
await this.shelterSupplyService.update({
5656
data: {

0 commit comments

Comments
 (0)