Add missing password field to update user api doc

This commit is contained in:
Chocobozzz
2022-01-10 09:17:28 +01:00
parent a5a79d1542
commit 5097cbda4a
3 changed files with 11 additions and 10 deletions

View File

@@ -6757,6 +6757,8 @@ components:
$ref: '#/components/schemas/UserRole'
adminFlags:
$ref: '#/components/schemas/UserAdminFlags'
password:
$ref: '#/components/schemas/password'
UpdateMe:
# see shared/models/users/user-update-me.model.ts:
properties:
@@ -7228,13 +7230,13 @@ components:
- `13` NEW_INSTANCE_FOLLOWER
- `14` AUTO_INSTANCE_FOLLOWING
- `15` ABUSE_STATE_CHANGE
- `16` ABUSE_NEW_MESSAGE
- `17` NEW_PLUGIN_VERSION
- `18` NEW_PEERTUBE_VERSION
read:
type: boolean