@mx-cartographer/experiences 4.1.4-alpha.bb6 → 4.1.4-alpha.bb8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -12330,7 +12330,7 @@ class a1 {
12330
12330
  try {
12331
12331
  const n = await this.api.addRetirementGoal(A), a = [];
12332
12332
  for (const r of this.newRetirementGoalAccounts) {
12333
- const i = await this.api.addRetirementGoalAccount(r);
12333
+ const i = await this.api.addRetirementGoalAccount({ ...r, retirement_goal_guid: n.guid });
12334
12334
  a.push(i);
12335
12335
  }
12336
12336
  this.setNewRetirementGoalAccounts([]), Q(() => {
@@ -12386,7 +12386,7 @@ class a1 {
12386
12386
  );
12387
12387
  for (const a of n)
12388
12388
  await this.deleteRetirementGoalAccount(a.guid);
12389
- await this.api.removeRetirementGoalAccount(A.guid), Q(() => {
12389
+ await this.api.removeRetirementGoal(A.guid), Q(() => {
12390
12390
  const a = this.goals.findIndex((r) => r.guid === A.guid);
12391
12391
  a >= 0 && this.goals.splice(a, 1);
12392
12392
  });