We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1009fa commit a8e3c62Copy full SHA for a8e3c62
resource_catalogue_fastapi/__init__.py
@@ -154,11 +154,10 @@ def upload_nested_files(
154
update_stac_order_status(json_body, None, order_status)
155
# Temporary fix for EODHP-1162
156
for link in json_body.get("links", []):
157
- if "api/catalogue/stac/v1/supported-datasets" in link.get("href"):
158
- link["href"] = link["href"].replace(
159
- "api/catalogue/stac/v1/supported-datasets",
160
- "api/catalogue/stac/v1/catalogs/supported-datasets",
161
- )
+ link["href"] = link["href"].replace(
+ "api/catalogue/stac/v1/supported-datasets",
+ "api/catalogue/stac/v1/catalogs/supported-datasets",
+ )
162
body = json.dumps(json_body)
163
ordered_item_key = workspace_key
164
except Exception as e:
0 commit comments