@veloceapps/sdk 10.0.0-12 → 10.0.0-13

Sign up to get free protection for your applications and to get access to all the features.
@@ -652,8 +652,8 @@ class FlowStateService {
652
652
  else {
653
653
  const quoteDraft = this.quoteDraftService.quoteDraft;
654
654
  if (quoteDraft) {
655
- return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
656
- this.contextService.update({ properties: { ConfigurationId: configurationId } });
655
+ return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
656
+ this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
657
657
  }));
658
658
  }
659
659
  }
@@ -668,8 +668,8 @@ class FlowStateService {
668
668
  else {
669
669
  const quoteDraft = this.quoteDraftService.quoteDraft;
670
670
  if (quoteDraft) {
671
- return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
672
- this.contextService.update({ properties: { ConfigurationId: configurationId } });
671
+ return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
672
+ this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
673
673
  }));
674
674
  }
675
675
  }