Skip to content
Snippets Groups Projects
Unverified Commit 298d734f authored by Paul Latzelsperger's avatar Paul Latzelsperger
Browse files

chore: update postman collection after catalog serDes fix

parent b5e94c99
No related branches found
No related tags found
No related merge requests found
...@@ -449,7 +449,7 @@ ...@@ -449,7 +449,7 @@
"// get the policy id of \"asset-1\" and save it as an environment variable", "// get the policy id of \"asset-1\" and save it as an environment variable",
"if(pm.response.code < 300 && pm.response.code >= 200){", "if(pm.response.code < 300 && pm.response.code >= 200){",
" if(pm.response.json().length > 0){", " if(pm.response.json().length > 0){",
" const dcat_datasets = pm.response.json()[0][\"dcat:dataset\"][1][\"dcat:dataset\"]", " const dcat_datasets = pm.response.json()[0][\"dcat:catalog\"][1][\"dcat:dataset\"]",
" const asset_1 = dcat_datasets.find((asset) => asset[\"@id\"] == \"asset-1\")", " const asset_1 = dcat_datasets.find((asset) => asset[\"@id\"] == \"asset-1\")",
" pm.environment.set(\"POLICY_ID_ASSET_1\", asset_1[\"odrl:hasPolicy\"][\"@id\"]);", " pm.environment.set(\"POLICY_ID_ASSET_1\", asset_1[\"odrl:hasPolicy\"][\"@id\"]);",
" }", " }",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment