fix(api): parameter validation of users/show was wrong
This commit is contained in:
parent
67fc39b8db
commit
daa0ca72a7
2 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue