diff --git a/jslib b/jslib index cea09a22e5..6ac6df75d7 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit cea09a22e533ef3598bb497ba0503c2fcd5b2dc1 +Subproject commit 6ac6df75d7a9bd5ea58f5d8310f1b3e34abd2bde diff --git a/src/commands/list.command.ts b/src/commands/list.command.ts index b28f573c93..c36fc32fdc 100644 --- a/src/commands/list.command.ts +++ b/src/commands/list.command.ts @@ -161,7 +161,7 @@ export class ListCommand { try { let response: ApiListResponse; - if (organization.isAdmin) { + if (organization.canManageAllCollections) { response = await this.apiService.getCollections(cmd.organizationid); } else { response = await this.apiService.getUserCollections();