Skip to content

Commit

Permalink
Merge branch 'hotfix/1.1.1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dotFionn committed Apr 27, 2024
2 parents b4b239b + 7d5f2ff commit 4d53b21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend_old/controllers/airport.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ export async function getAirportBlocks(req: Request, res: Response, next: NextFu
});

for (const pilot of pilots) {
if (!pilot?.vacdm?.block_rwy_designator || !pilot?.vacdm?.blockId) {
continue;
}

blocksPilot.rwys[pilot.vacdm.block_rwy_designator][pilot.vacdm.blockId].push(pilot);
}

Expand Down

0 comments on commit 4d53b21

Please sign in to comment.