node-passbook icon indicating copy to clipboard operation
node-passbook copied to clipboard

Can't create a boardingPass type pass.

Open tracy-e opened this issue 12 years ago • 1 comments

boardingPass should has a "transitType" param under boardingPass field.

 "boardingPass" : {
   "transitType" : "PKTransitTypeAir",
   "headerFields" : ""
}

But I can't set this "transitType" param into boardingPass.

tracy-e avatar Apr 20 '13 13:04 tracy-e

I found the way to set transitType

pass.fields.boardingPass.transitType = "PKTransitTypeAir";

tracy-e avatar Apr 20 '13 15:04 tracy-e