Skip to content

Commit

Permalink
Update dataparse.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ecc521 committed Jul 29, 2022
1 parent faef9de commit 6badafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/dataparse.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ async function prepareRiverData({
obj.access.push({name: "Take-Out", lat: obj.tlat, lon: obj.tlon, label: "TO"})
}

obj.access.filter((accessPoint) => {
obj.access = obj.access.filter((accessPoint) => {
try {
accessPoint.lat = toDecimalDegrees(accessPoint.lat)
accessPoint.lon = toDecimalDegrees(accessPoint.lon)
Expand Down

0 comments on commit 6badafe

Please sign in to comment.