diff --git a/src/models/data/organizationData.ts b/src/models/data/organizationData.ts index 0f5bc0da95..75212bcf06 100644 --- a/src/models/data/organizationData.ts +++ b/src/models/data/organizationData.ts @@ -18,6 +18,7 @@ export class OrganizationData { usersGetPremium: boolean; seats: number; maxCollections: number; + maxStorageGb?: number; constructor(response: ProfileOrganizationResponse) { this.id = response.id; @@ -34,5 +35,6 @@ export class OrganizationData { this.usersGetPremium = response.usersGetPremium; this.seats = response.seats; this.maxCollections = response.maxCollections; + this.maxStorageGb = response.maxStorageGb; } } diff --git a/src/models/domain/organization.ts b/src/models/domain/organization.ts index c6e136a368..122dc27fe0 100644 --- a/src/models/domain/organization.ts +++ b/src/models/domain/organization.ts @@ -18,6 +18,7 @@ export class Organization { usersGetPremium: boolean; seats: number; maxCollections: number; + maxStorageGb?: number; constructor(obj?: OrganizationData) { if (obj == null) { @@ -38,6 +39,7 @@ export class Organization { this.usersGetPremium = obj.usersGetPremium; this.seats = obj.seats; this.maxCollections = obj.maxCollections; + this.maxStorageGb = obj.maxStorageGb; } get canAccess() {