Skip to content

Commit e3cf078

Browse files
authored
Update configure-packages.py
1 parent 572172f commit e3cf078

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

FHIRValidationAction/scripts/configure-packages.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ def install_package(package_id, version, server_url, failed):
6868

6969
response = requests.post(
7070
f"{server_url}/ImplementationGuide/$install",
71-
json=params,
71+
data=json.dumps(params),
7272
headers={
7373
"Content-Type": "application/fhir+json",
74-
"Accept": "application/fhir+json"}
74+
"Accept": "application/fhir+json"
75+
}
7576
)
7677
if response.status_code in [200, 201]:
7778
print(f"Installed {package_id}:{version}")

0 commit comments

Comments
 (0)