Skip to content

Commit

Permalink
fix(core): add the missing status code (#6879)
Browse files Browse the repository at this point in the history
add the missing status code
  • Loading branch information
simeng-li authored Dec 15, 2024
1 parent f1f9dab commit 8fc5e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/routes/interaction/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default function interactionRoutes<T extends AnonymousRouter>(
`${interactionPrefix}/profile`,
koaGuard({
body: profileGuard,
status: [204, 400, 404],
status: [204, 400, 404, 422],
}),
koaInteractionSie(queries),
async (ctx, next) => {
Expand Down

0 comments on commit 8fc5e25

Please sign in to comment.