Small fixes to make MC build on Mac

This commit is contained in:
pietervdvn 2022-07-07 22:35:28 +02:00
parent fe522022b2
commit 52f1d86772
2 changed files with 6 additions and 4 deletions

View file

@ -314,9 +314,10 @@ export default class SimpleMetaTaggers {
lat: lat, lat: lat,
lon: lon, lon: lon,
address: { address: {
country_code: tags._country.toLowerCase() country_code: tags._country.toLowerCase(),
state: undefined
} }
}, {tag_key: "opening_hours"}); }, <any> {tag_key: "opening_hours"});
// Recalculate! // Recalculate!
return oh.getState() ? "yes" : "no"; return oh.getState() ? "yes" : "no";

View file

@ -477,9 +477,10 @@ export class OH {
lat: tags._lat, lat: tags._lat,
lon: tags._lon, lon: tags._lon,
address: { address: {
country_code: tags._country.toLowerCase() country_code: tags._country.toLowerCase(),
state: undefined
}, },
}, {tag_key: "opening_hours"}); }, <any> {tag_key: "opening_hours"});
} }
/* /*