This commit is contained in:
Atridad Lahiji 2023-08-06 14:37:24 -06:00 committed by atridadl
parent 5685a49e8a
commit 364b59e33e
No known key found for this signature in database

View file

@ -6,7 +6,7 @@ import { TRPCError } from "@trpc/server";
export const hookRouter = createTRPCRouter({
dbWarmer: publicProcedure
.meta({ openapi: { method: "POST", path: "/rest/test" } })
.meta({ openapi: { method: "POST", path: "/rest/dbwarmer" } })
.input(z.object({ key: z.string() }))
.output(z.string())
.query(async ({ ctx, input }) => {