2026-01-18 21:35:55 +01:00

12 lines
245 B
JavaScript

const z = require("zod")
module.exports = {
DELETE: {
headers: z.object({
"authorization": z.string().startsWith("Bearer ")
}),
query: z.object({
hash: z.string().length(64)
})
}
}