Skip to content

Commit

Permalink
chore: small readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
refactorthis committed Aug 22, 2024
1 parent f3ac478 commit 3695e41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ import { api } from './my-api'

export const handler = api({
parser: {
request: MyRequestSchema
response: MyResponseSchema
path: PathSchema
query: QueryStringSchema
request: MyRequestSchema,
response: MyResponseSchema,
path: PathSchema,
query: QueryStringSchema,
},
handler: async({ request, path, query, authorizer }) = {
// request is the strongly typed request body
Expand Down

0 comments on commit 3695e41

Please sign in to comment.