SWITCH TO POST
This commit is contained in:
parent
6b7c15413c
commit
11f90ff434
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import { TRPCError } from "@trpc/server";
|
|||
|
||||
export const hookRouter = createTRPCRouter({
|
||||
dbWarmer: publicProcedure
|
||||
.meta({ openapi: { method: "GET", path: "/rest/test" } })
|
||||
.meta({ openapi: { method: "POST", path: "/rest/test" } })
|
||||
.input(z.object({ key: z.string() }))
|
||||
.output(z.string())
|
||||
.query(async ({ ctx, input }) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue