Fixed name for product tier to match property sent from the server (#9746)

This commit is contained in:
Conner Turnbull 2024-06-21 13:48:11 -04:00 committed by GitHub
parent 248bf56b95
commit 400795732f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ export class OrganizationData {
this.providerType = response.providerType; this.providerType = response.providerType;
this.familySponsorshipFriendlyName = response.familySponsorshipFriendlyName; this.familySponsorshipFriendlyName = response.familySponsorshipFriendlyName;
this.familySponsorshipAvailable = response.familySponsorshipAvailable; this.familySponsorshipAvailable = response.familySponsorshipAvailable;
this.productTierType = response.planProductType; this.productTierType = response.productTierType;
this.keyConnectorEnabled = response.keyConnectorEnabled; this.keyConnectorEnabled = response.keyConnectorEnabled;
this.keyConnectorUrl = response.keyConnectorUrl; this.keyConnectorUrl = response.keyConnectorUrl;
this.familySponsorshipLastSyncDate = response.familySponsorshipLastSyncDate; this.familySponsorshipLastSyncDate = response.familySponsorshipLastSyncDate;

View File

@ -42,7 +42,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
providerType?: ProviderType; providerType?: ProviderType;
familySponsorshipFriendlyName: string; familySponsorshipFriendlyName: string;
familySponsorshipAvailable: boolean; familySponsorshipAvailable: boolean;
planProductType: ProductTierType; productTierType: ProductTierType;
keyConnectorEnabled: boolean; keyConnectorEnabled: boolean;
keyConnectorUrl: string; keyConnectorUrl: string;
familySponsorshipLastSyncDate?: Date; familySponsorshipLastSyncDate?: Date;
@ -93,7 +93,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
this.providerType = this.getResponseProperty("ProviderType"); this.providerType = this.getResponseProperty("ProviderType");
this.familySponsorshipFriendlyName = this.getResponseProperty("FamilySponsorshipFriendlyName"); this.familySponsorshipFriendlyName = this.getResponseProperty("FamilySponsorshipFriendlyName");
this.familySponsorshipAvailable = this.getResponseProperty("FamilySponsorshipAvailable"); this.familySponsorshipAvailable = this.getResponseProperty("FamilySponsorshipAvailable");
this.planProductType = this.getResponseProperty("PlanProductType"); this.productTierType = this.getResponseProperty("ProductTierType");
this.keyConnectorEnabled = this.getResponseProperty("KeyConnectorEnabled") ?? false; this.keyConnectorEnabled = this.getResponseProperty("KeyConnectorEnabled") ?? false;
this.keyConnectorUrl = this.getResponseProperty("KeyConnectorUrl"); this.keyConnectorUrl = this.getResponseProperty("KeyConnectorUrl");
const familySponsorshipLastSyncDateString = this.getResponseProperty( const familySponsorshipLastSyncDateString = this.getResponseProperty(