mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(core): add the missing status code (#6879)
add the missing status code
This commit is contained in:
parent
f1f9dab8b7
commit
8fc5e250e6
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue