0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

chore: remove 500 status guard

This commit is contained in:
Darcy Ye 2024-03-20 15:00:47 +08:00
parent e72e927bb1
commit ed710b06ec
No known key found for this signature in database
GPG key ID: B46F4C07EDEFC610

View file

@ -314,9 +314,8 @@ export default function logtoConfigRoutes<T extends AuthedRouter>(
*
* Code 400 indicates Zod errors in cloud service (data type does not match expectation, can be either request body or response body).
* Code 422 indicates syntax errors in cloud service.
* Code 500 indicates internal server errors in cloud service.
*/
status: [200, 400, 422, 500],
status: [200, 400, 422],
}),
async (ctx, next) => {
const {