diff --git a/src/models/data/organizationData.ts b/src/models/data/organizationData.ts index 75212bcf0..d351a7024 100644 --- a/src/models/data/organizationData.ts +++ b/src/models/data/organizationData.ts @@ -14,6 +14,7 @@ export class OrganizationData { useEvents: boolean; useTotp: boolean; use2fa: boolean; + useApi: boolean; selfHost: boolean; usersGetPremium: boolean; seats: number; @@ -31,6 +32,7 @@ export class OrganizationData { this.useEvents = response.useEvents; this.useTotp = response.useTotp; this.use2fa = response.use2fa; + this.useApi = response.useApi; this.selfHost = response.selfHost; this.usersGetPremium = response.usersGetPremium; this.seats = response.seats; diff --git a/src/models/domain/organization.ts b/src/models/domain/organization.ts index 961f8cc02..346a08778 100644 --- a/src/models/domain/organization.ts +++ b/src/models/domain/organization.ts @@ -14,6 +14,7 @@ export class Organization { useEvents: boolean; useTotp: boolean; use2fa: boolean; + useApi: boolean; selfHost: boolean; usersGetPremium: boolean; seats: number; @@ -35,6 +36,7 @@ export class Organization { this.useEvents = obj.useEvents; this.useTotp = obj.useTotp; this.use2fa = obj.use2fa; + this.useApi = obj.useApi; this.selfHost = obj.selfHost; this.usersGetPremium = obj.usersGetPremium; this.seats = obj.seats;