Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
add useApi flags
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Mar 2, 2019
1 parent 5535eb1 commit 9cc84f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/data/organizationData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class OrganizationData {
useEvents: boolean;
useTotp: boolean;
use2fa: boolean;
useApi: boolean;
selfHost: boolean;
usersGetPremium: boolean;
seats: number;
Expand All @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/models/domain/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class Organization {
useEvents: boolean;
useTotp: boolean;
use2fa: boolean;
useApi: boolean;
selfHost: boolean;
usersGetPremium: boolean;
seats: number;
Expand All @@ -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;
Expand Down

0 comments on commit 9cc84f7

Please sign in to comment.