mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(core): the koa response status guard missing 422 in sso integration API (#5506)
This commit is contained in:
parent
e95a04619b
commit
58885b31cb
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ export default function singleSignOnRoutes<T extends IRouterParamContext>(
|
|||
connectorId: z.string(),
|
||||
}),
|
||||
body: z.record(z.unknown()),
|
||||
status: [200, 404],
|
||||
status: [200, 404, 422],
|
||||
response: z.object({
|
||||
redirectTo: z.string(),
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue