mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(core): fix status code of create new user api (#5735)
This commit is contained in:
parent
c92acffb75
commit
aec6c779b2
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ export default function adminUserBasicsRoutes<T extends ManagementApiRouter>(
|
|||
profile: userProfileGuard,
|
||||
}).partial(),
|
||||
response: userProfileResponseGuard,
|
||||
status: [200, 404, 422],
|
||||
status: [200, 400, 404, 422],
|
||||
}),
|
||||
async (ctx, next) => {
|
||||
const {
|
||||
|
|
Loading…
Reference in a new issue