Update [hash].js

This commit is contained in:
Gilles Lazures 2026-01-18 23:06:40 +01:00
parent 85ba96cb6f
commit 99598f2b7a

View File

@ -1,9 +1,8 @@
const z = require("zod")
const headerSchema = z.object({
authorization: z.string().regex(new RegExp("^" + "Bearer" + "i"), {
message: "Invalid bearer header"
})
authorization: z.string()
.min(6)
}).passthrough()
module.exports = {