mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: add status 403 for custom jwt test API
This commit is contained in:
parent
239c17f367
commit
88f759c686
2 changed files with 4 additions and 1 deletions
|
@ -230,6 +230,9 @@
|
|||
"400": {
|
||||
"description": "Zod errors in cloud service (data type does not match expectation, can be either request body or response body)."
|
||||
},
|
||||
"403": {
|
||||
"description": "Cloud connection does not have enough permission to perform the action."
|
||||
},
|
||||
"422": {
|
||||
"description": "Syntax errors in cloud service."
|
||||
}
|
||||
|
|
|
@ -319,7 +319,7 @@ export default function logtoConfigRoutes<T extends AuthedRouter>(
|
|||
}),
|
||||
]),
|
||||
response: jsonObjectGuard,
|
||||
status: [200, 400, 422],
|
||||
status: [200, 400, 403, 422],
|
||||
}),
|
||||
async (ctx, next) => {
|
||||
const {
|
||||
|
|
Loading…
Reference in a new issue