@veloceapps/sdk 10.0.0-11 → 10.0.0-13

Sign up to get free protection for your applications and to get access to all the features.
@@ -617,8 +617,8 @@ class FlowStateService {
617
617
  else {
618
618
  const quoteDraft = this.quoteDraftService.quoteDraft;
619
619
  if (quoteDraft) {
620
- return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
621
- this.contextService.update({ properties: { ConfigurationId: configurationId } });
620
+ return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
621
+ this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
622
622
  }));
623
623
  }
624
624
  }
@@ -633,8 +633,8 @@ class FlowStateService {
633
633
  else {
634
634
  const quoteDraft = this.quoteDraftService.quoteDraft;
635
635
  if (quoteDraft) {
636
- return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
637
- this.contextService.update({ properties: { ConfigurationId: configurationId } });
636
+ return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
637
+ this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
638
638
  }));
639
639
  }
640
640
  }