Skip to content

Commit

Permalink
docs(@esri/hub-downloads): add TODO
Browse files Browse the repository at this point in the history
affects: @esri/hub-downloads
  • Loading branch information
rgwozdz committed Nov 16, 2020
1 parent 4681f05 commit 0641f94
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export function portalRequestDatasetExport(

function composeExportParameters(params: any) {
const { datasetId, spatialRefId, where } = params;

// TODO: move parseDatasetId() to hub-common and use that here
const layerId = datasetId.split("_")[1];

if (!layerId) {
Expand Down

0 comments on commit 0641f94

Please sign in to comment.