mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Fixed schema names
This commit is contained in:
@@ -244,7 +244,7 @@ export class Pass implements PassIndexSignature {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const validBeacons = data.reduce<schema.Beacon[]>((acc, current) => {
|
const validBeacons = data.reduce<schema.Beacon[]>((acc, current) => {
|
||||||
if (!(Object.keys(current).length && schema.isValid(current, "locations"))) {
|
if (!(Object.keys(current).length && schema.isValid(current, "beaconsDict"))) {
|
||||||
return acc;
|
return acc;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -272,7 +272,7 @@ export class Pass implements PassIndexSignature {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const validLocations = data.reduce<schema.Location[]>((acc, current) => {
|
const validLocations = data.reduce<schema.Location[]>((acc, current) => {
|
||||||
if (!(Object.keys(current).length && schema.isValid(current, "locations"))) {
|
if (!(Object.keys(current).length && schema.isValid(current, "locationsDict"))) {
|
||||||
return acc;
|
return acc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user