fix(api): parameter validation of users/show was wrong

This commit is contained in:
syuilo 2022-04-06 00:04:25 +09:00
parent 96f6453fe2
commit 0c1ad61bee
2 changed files with 4 additions and 5 deletions

View file

@ -16,8 +16,7 @@ You should also include the user name that made the change.
- Improve webhook @syuilo
### Bugfixes
-
- API: parameter validation of users/show was wrong
## 12.109.2 (2022/04/03)

View file

@ -23,9 +23,9 @@ export const meta = {
items: {
type: 'object',
ref: 'UserDetailed',
}
},
},
]
],
},
errors: {
@ -70,7 +70,7 @@ export const paramDef = {
description: 'The local host is represented with `null`.',
},
},
required: ['username', 'host'],
required: ['username'],
},
],
} as const;