From 593b64a676e111c78f7192521263f7ab1c504248 Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 15 Jun 2024 23:32:21 +0200 Subject: [PATCH] Replaced Joi method append with concat --- 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 16c6703..fa85c2e 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -145,7 +145,7 @@ export const PassKindsProps = Joi.object({ coupon: PassFields.disallow("transitType"), generic: PassFields.disallow("transitType"), storeCard: PassFields.disallow("transitType"), - eventTicket: PassFields.disallow("transitType").append( + eventTicket: PassFields.disallow("transitType").concat( Joi.object().keys({ /** * New field coming in iOS 18