Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed Mar 22, 2024
1 parent 4822758 commit 875ff95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/router/missions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const missionsRouter = router({
...mainPlaces,
...secondaryPlaces
.map(({ place }) => place)
.filter((place) => !mainPlacesIds.includes(place.id)),
.filter((place) => place && !mainPlacesIds.includes(place.id)),
].map(({ location, categories, ...place }) => ({
...place,
location: getPoint(location),
Expand Down

0 comments on commit 875ff95

Please sign in to comment.