Skip to content

Commit

Permalink
Work on buildings flood risk analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebek committed Oct 10, 2024
1 parent 53e9b7a commit 8a46a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizard_qgis_plugin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def create_buildings_flood_risk_task(
scenario_id = scenario_instance["uuid"]
url = f"{lizard_url}scenarios/{scenario_id}/results/{result_id}/process/"
payload = {"method": calculation_method, "output_format": output_format}
r = requests.get(url=url, auth=("__key__", api_key), params=payload)
r = requests.post(url=url, auth=("__key__", api_key), json=payload)
r.raise_for_status()
process_task = r.json()
return process_task
Expand Down

0 comments on commit 8a46a47

Please sign in to comment.