Skip to content

Commit

Permalink
chore: update postman collection after catalog serDes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Nov 13, 2024
1 parent b5e94c9 commit 298d734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/postman/MVD.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
"// 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.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\")",
" pm.environment.set(\"POLICY_ID_ASSET_1\", asset_1[\"odrl:hasPolicy\"][\"@id\"]);",
" }",
Expand Down

0 comments on commit 298d734

Please sign in to comment.