aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index e4099ba..096702e 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -201,9 +201,9 @@ CONSTRUCT {
current_app.config.get("SPARQL_ENDPOINT")
)
return __result | retrieve_dataset_metadata(
- Path(
+ (Path(
current_app.config.get("DATA_DIR")
- ).joinpath(__result.get("id", "")).as_posix()
+ ) / "gn-docs/general/datasets" / __result.get("id", "")).as_posix()
)
except (RemoteDisconnected, URLError):
return jsonify({})