Skip to content

Commit

Permalink
fix(core): fix status code of create new user api (#5735)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsijie authored Apr 28, 2024
1 parent c92acff commit aec6c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/routes/admin-user/basics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aec6c77

Please sign in to comment.