We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79015c2 commit 09de6f7Copy full SHA for 09de6f7
lib/organization/index.js
@@ -32,7 +32,7 @@ export function Organization (http, data) {
32
*/
33
this.fetch = fetch(http, 'organization')
34
35
- if (this.org_roles && (this.org_roles.filter(function (role) { return role.admin === true }).length > 0)) {
+ if ((this.org_roles && (this.org_roles.filter(function (role) { return role.admin === true }).length > 0)) || (this.owner && this.owner === true)) {
36
/**
37
* @description The Get all stacks in an organization call fetches the list of all stacks in an Organization.
38
* @memberof Organization
0 commit comments