Merge pull request #104 from DarkView/fix_searchRequired
Fix search being required on !roles
This commit is contained in:
commit
1e74b68452
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export const RolesCmd = utilityCmd({
|
||||||
permission: "can_roles",
|
permission: "can_roles",
|
||||||
|
|
||||||
signature: {
|
signature: {
|
||||||
search: ct.string({ catchAll: true }),
|
search: ct.string({ required: false, catchAll: true }),
|
||||||
|
|
||||||
counts: ct.switchOption(),
|
counts: ct.switchOption(),
|
||||||
sort: ct.string({ option: true }),
|
sort: ct.string({ option: true }),
|
||||||
|
|
Loading…
Add table
Reference in a new issue