@zerocarbon/erp-config-sdk 1.0.24 → 1.0.25

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.js CHANGED
@@ -34757,7 +34757,7 @@ const updateItemEmissionFactorForUser = async (apiClient, options) => {
34757
34757
  throw new Error("apiClient.patch is required to update emission factors");
34758
34758
  }
34759
34759
  const data = await apiClient
34760
- .patch(`erp-config/items/${options.itemId}/emission-factor`, { json: { emissionFactor: options.emissionFactor } })
34760
+ .patch(`erp-config/items/${options.itemId}/emission-factor`, { json: { emissionFactor: options.emissionFactor, plant: options.plant } })
34761
34761
  .json();
34762
34762
  return data;
34763
34763
  };