add useApi flags

This commit is contained in:
Kyle Spearrin 2019-03-02 12:22:51 -05:00
parent 5535eb1002
commit 9cc84f76d7
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;