diff --git a/jslib b/jslib index ee1ea922a9..91c5393ae7 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit ee1ea922a9d5a51ef8df2abf4b97fc035ed782be +Subproject commit 91c5393ae7a84e9f4d90391d072cae56e7a3ff41 diff --git a/src/commands/list.command.ts b/src/commands/list.command.ts index aa05eeb031..5860bc0efe 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.canManageAllCollections) { + if (organization.canViewAllCollections) { response = await this.apiService.getCollections(options.organizationid); } else { response = await this.apiService.getUserCollections();