fix(config): 🐛 Make vapid key schema more consistent with other key schemas

This commit is contained in:
Jesse Wierzbinski 2025-04-15 20:46:29 +02:00
parent 88944712fe
commit 26f2dca5d6
No known key found for this signature in database

View file

@ -207,8 +207,8 @@ export const keyPair = z
export const vapidKeyPair = z export const vapidKeyPair = z
.strictObject({ .strictObject({
public: sensitiveString, public: sensitiveString.optional(),
private: sensitiveString, private: sensitiveString.optional(),
}) })
.optional() .optional()
.transform((k, ctx) => { .transform((k, ctx) => {