Skip to content

Commit

Permalink
Make TRPC queries POST rather than GET requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaviask committed Aug 7, 2024
1 parent f5751f6 commit 8afecd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/adapters/src/trpc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const query = <Input extends ZodSchema, Output extends ZodSchema>(
return trpc.procedure
.meta({
openapi: {
method: 'GET',
method: 'POST',
path: `/${Tag.Query.toLowerCase()}/${factory.name}`,
tags: [Tag.Query],
headers: [{ name: 'address_id' }],
Expand Down

0 comments on commit 8afecd2

Please sign in to comment.