Skip to content

Commit d628ad6

Browse files
committed
Fixed bug where only level 2 scenes could be downloaded
1 parent c56f286 commit d628ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function get_entity_id(scene)
102102
list_id = rand('a':'z', 10) |> String
103103
params = Dict(
104104
"listId" => list_id,
105-
"datasetName" => "landsat_ot_c2_l2",
105+
"datasetName" => guess_dataset(scene),
106106
"idField" => "displayId",
107107
"entityId" => scene )
108108
api_request("scene-list-add", params, token)

0 commit comments

Comments
 (0)