mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(config): 🐛 Make vapid key schema more consistent with other key schemas
This commit is contained in:
parent
88944712fe
commit
26f2dca5d6
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue