diff --git a/src/pass.ts b/src/pass.ts index 9574f41..f9a5e36 100644 --- a/src/pass.ts +++ b/src/pass.ts @@ -288,7 +288,6 @@ export class Pass { beacons(resetFlag: null): this; beacons(...data: schema.Beacon[]): this beacons(...data: (schema.Beacon|null)[]){ - if (data[0] === null) { delete this[passProps]["beacons"]; return this;