@mx-cartographer/experiences 6.0.17-alpha-ram4-error-budgets-empty-state → 6.0.17-alpha-ram5-error-budgets-empty-state

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
@@ -3992,13 +3992,13 @@ class Mr {
3992
3992
  constructor(t, i) {
3993
3993
  this.fetchInstance = new Ae(t, i);
3994
3994
  }
3995
- addBudget = async (t, i, n = null) => this.fetchInstance.post(Q.BUDGETS, {
3995
+ addBudget = async (t, i, n = null) => this.fetchInstance.post(`${Q.BUDGETS}/api`, {
3996
3996
  amount: i,
3997
3997
  category_guid: t.guid,
3998
3998
  category_name: t.name,
3999
3999
  parent_guid: n
4000
4000
  }).then((r) => r.budget).catch((r) => r);
4001
- deleteBudget = async (t) => this.fetchInstance.delete(`${Q.BUDGETS}/${t}`).then((i) => i).catch((i) => {
4001
+ deleteBudget = async (t) => this.fetchInstance.delete(`${Q.BUDGETS}/${t}/del`).then((i) => i).catch((i) => {
4002
4002
  throw i;
4003
4003
  });
4004
4004
  getBudgets = async () => this.fetchInstance.get(Q.BUDGETS).then((t) => t.budgets).catch((t) => t);