node-passbook
node-passbook copied to clipboard
Can't create a boardingPass type pass.
boardingPass should has a "transitType" param under boardingPass field.
"boardingPass" : {
"transitType" : "PKTransitTypeAir",
"headerFields" : ""
}
But I can't set this "transitType" param into boardingPass.
I found the way to set transitType
pass.fields.boardingPass.transitType = "PKTransitTypeAir";