mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🐛 Make validation on push subscription more lax
This commit is contained in:
parent
59cf4e384a
commit
ea0afdaf22
4 changed files with 15 additions and 22 deletions
|
|
@ -16,7 +16,7 @@ export const WebPushSubscriptionInput = z
|
|||
example:
|
||||
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoKCJeHCy69ywHcb3dAR/T8Sud5ljSFHJkuiR6it1ycqAjGTe5F1oZ0ef5QiMX/zdQ+d4jSKiO7RztIz+o/eGuQ==",
|
||||
}),
|
||||
auth: z.string().base64().length(24).openapi({
|
||||
auth: z.string().base64().openapi({
|
||||
description:
|
||||
"Auth secret. Base64 encoded string of 16 bytes of random data.",
|
||||
example: "u67u09PXZW4ncK9l9mAXkA==",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue