From a723c152be406617adcedb54b68aaa875324c5da Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sun, 14 Nov 2021 00:51:07 +0100 Subject: [PATCH] Made PKPass.from Template to accept optional certificates --- src/schemas/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schemas/index.ts b/src/schemas/index.ts index 75aa279..554c292 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -155,7 +155,7 @@ export const PassProps = Joi.object< export interface Template { model: string; - certificates: CertificatesSchema; + certificates?: CertificatesSchema; } export const Template = Joi.object