Skip to content

Commit

Permalink
Correct organic soil carbon request filename
Browse files Browse the repository at this point in the history
  • Loading branch information
SARodrigues committed Oct 28, 2024
1 parent 86ed7b9 commit eee179d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions services/analysis-cached.js
Original file line number Diff line number Diff line change
Expand Up @@ -2564,7 +2564,7 @@ export const getOrganicSoilCarbonGrouped = (params) => {
});

if (!requestUrl) {
return new Promise(() => { });
return new Promise(() => {});
}

const url = encodeURI(
Expand All @@ -2580,8 +2580,9 @@ export const getOrganicSoilCarbonGrouped = (params) => {
if (download) {
const indicator = getIndicator(forestType, landCategory, ifl);
return {
name: `whrc_biomass_by_region${indicator ? `_in_${snakeCase(indicator.label)}` : ''
}__ha`,
name: `soil_organic_carbon_by_region${
indicator ? `_in_${snakeCase(indicator.label)}` : ''
}__ha`,
url: getDownloadUrl(url),
};
}
Expand All @@ -2591,7 +2592,7 @@ export const getOrganicSoilCarbonGrouped = (params) => {
...d,
biomass: d.gfw_soil_carbon_stocks_2000__Mg_C,
biomassDensity: d.soil_carbon_density__t_ha,
}))
}));
});
};

Expand Down

0 comments on commit eee179d

Please sign in to comment.