mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38: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
|
export const vapidKeyPair = z
|
||||||
.strictObject({
|
.strictObject({
|
||||||
public: sensitiveString,
|
public: sensitiveString.optional(),
|
||||||
private: sensitiveString,
|
private: sensitiveString.optional(),
|
||||||
})
|
})
|
||||||
.optional()
|
.optional()
|
||||||
.transform((k, ctx) => {
|
.transform((k, ctx) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue