Skip to content

Commit

Permalink
Merge pull request #4935 from wri/fix/remove-hardcoded-versions
Browse files Browse the repository at this point in the history
fix(analysis-cached): remove hardcoded dataset version in requests
  • Loading branch information
wri7tno authored Feb 20, 2025
2 parents e71499a + bf7fc71 commit ff0ebd9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions components/widgets/land-cover/ranked-plantations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ export default {
all([
getExtentGrouped({
...params,
version: 'v20240815',
}),
getAreaIntersectionGrouped({
...params,
forestType: 'plantations',
summary: true,
version: 'v20240815',
}),
]).then(
spread((extentGrouped, plantationsExtentResponse) => {
Expand All @@ -85,14 +83,12 @@ export default {
getExtentGrouped({
...params,
download: true,
version: 'v20240815',
}),
getAreaIntersectionGrouped({
...params,
forestType: 'plantations',
download: true,
summary: true,
version: 'v20240815',
}),
],
getWidgetProps,
Expand Down
3 changes: 0 additions & 3 deletions services/analysis-cached.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ export const getLossNaturalForest = (params) => {
...params,
dataset: 'annual',
datasetType: 'change',
version: 'v20240815',
});

if (!requestUrl) {
Expand Down Expand Up @@ -1104,7 +1103,6 @@ export const getNaturalForest = async (params) => {
...params,
dataset: 'annual',
datasetType: 'summary',
version: 'v20240815',
});

if (!requestUrl) {
Expand Down Expand Up @@ -1221,7 +1219,6 @@ export const getExtentNaturalForest = (params) => {
...params,
dataset: 'annual',
datasetType: 'summary',
version: 'v20240815',
});

if (!requestUrl) {
Expand Down

0 comments on commit ff0ebd9

Please sign in to comment.