From 0213693a0438d1c4046a03d095d6d44b8a9f84bd Mon Sep 17 00:00:00 2001 From: Joe Moorhouse Date: Fri, 17 Nov 2023 09:40:00 +0000 Subject: [PATCH] Fix naming convention Signed-off-by: Joe Moorhouse --- src/physrisk_api/app/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physrisk_api/app/api.py b/src/physrisk_api/app/api.py index 8495b91..ebf76ae 100644 --- a/src/physrisk_api/app/api.py +++ b/src/physrisk_api/app/api.py @@ -101,7 +101,7 @@ def get_image(resource, x=None, y=None, z=None, format="png", requester: Request "resource": resource, "tile": None if not x or not y or not z else (int(x), int(y), int(z)), "colormap": colormap, - "scenarioId": scenarioId, + "scenario_id": scenarioId, "year": year, "group_ids": [data_access], "max_value": max_value,