Fix: correct default access assumption

This commit is contained in:
Pieter Vander Vennet 2024-01-22 00:01:17 +01:00
parent 59e76b9c6f
commit ea06152473

View file

@ -82,7 +82,7 @@ export default class VeloparkLoader {
)
properties.maxstay = duration + " days"
}
properties.access = g.publicAccess ? "yes" : "no"
properties.access = g.publicAccess ?? "yes" ? "yes" : "no"
const prefix = "http://schema.org/"
if (g.openingHoursSpecification) {
const oh = OH.simplify(