From 26f2dca5d67fee3bacad3047a2bb602208f2c4fc Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 15 Apr 2025 20:46:29 +0200 Subject: [PATCH] fix(config): :bug: Make vapid key schema more consistent with other key schemas --- classes/config/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/config/schema.ts b/classes/config/schema.ts index 45a6a481..1e6756ef 100644 --- a/classes/config/schema.ts +++ b/classes/config/schema.ts @@ -207,8 +207,8 @@ export const keyPair = z export const vapidKeyPair = z .strictObject({ - public: sensitiveString, - private: sensitiveString, + public: sensitiveString.optional(), + private: sensitiveString.optional(), }) .optional() .transform((k, ctx) => {