Update [hash].js
This commit is contained in:
parent
aacfca136c
commit
b15595ecb1
@ -3,22 +3,12 @@ const z = require("zod")
|
||||
module.exports = {
|
||||
PUT: {
|
||||
headers: z.object({
|
||||
"content-type": z.string().regex(/application\/json/i),
|
||||
"authorization": z.string().startsWith("Bearer ")
|
||||
}),
|
||||
query: z.object({
|
||||
uuid: z.string().uuid(),
|
||||
hash: z.string().length(64)
|
||||
})
|
||||
},
|
||||
DELETE: {
|
||||
headers: z.object({
|
||||
"content-type": z.string().regex(/application\/json/i),
|
||||
"authorization": z.string().startsWith("Bearer ")
|
||||
}),
|
||||
query: z.object({
|
||||
uuid: z.string().uuid(),
|
||||
hash: z.string().length(64)
|
||||
})
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user