Skip to content

Commit

Permalink
feat(mu): parseAsync -> parse on trace route #188
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Dec 11, 2023
1 parent eb6b9e2 commit 6aac0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/mu/src/routes/trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const withTraceRoutes = (app) => {
pageSize: z.coerce(z.number().int()).default(DEFAULT_PAGE_SIZE)
})

const input = await inputSchema.parseAsync(query)
const input = inputSchema.parse(query)

if (input.process && input.message) {
const err = new Error('Only one of process or message query parameters can be provided')
Expand Down

0 comments on commit 6aac0fb

Please sign in to comment.