Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf authored Sep 9, 2019
2 parents e4167fa + e50d8cd commit 1ce9267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pass.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var zlib = require("zlib");
var TOP_LEVEL = [ "appLaunchURL", "associatedStoreIdentifiers", "authenticationToken",
"backgroundColor", "barcode", "description",
"foregroundColor", "labelColor", "locations", "logoText",
"organizationName", "relevantDate", "serialNumber",
"organizationName", "relevantDate", "serialNumber",
"suppressStripShine", "webServiceURL", "beacons"];
// These top level fields are required for a valid pass.
var REQUIRED_TOP_LEVEL = [ "description", "organizationName", "passTypeIdentifier",
Expand Down Expand Up @@ -140,7 +140,7 @@ Fields.prototype.add = function(key, label, value, options) {
// key - Field key
// label - Field label (optional)
// value - Field value
// Other field options (e.g. dateStyle)
// Other field options (e.g. dateStyle)
Fields.prototype.get = function(key) {
var fields = this.pass.structure[this.key];
if (fields) {
Expand Down

0 comments on commit 1ce9267

Please sign in to comment.