Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Moorhouse <[email protected]>
  • Loading branch information
joemoorhouse committed Nov 17, 2023
1 parent 4a2a446 commit 15d94eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/physrisk_api/app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_image(resource, x=None, y=None, z=None, format="png", requester: Request
max_value_arg = request.args.get("maxValue")
max_value = float(max_value_arg) if max_value_arg is not None else None
colormap = request.args.get("colormap")
scenarioId = request.args.get("scenarioId")
scenario_id = request.args.get("scenarioId")
year = int(request.args.get("year")) # type:ignore
try:
verify_jwt_in_request(optional=True)
Expand All @@ -106,7 +106,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,
"scenario_id": scenarioId,
"scenario_id": scenario_id,
"year": year,
"group_ids": [data_access],
"max_value": max_value,
Expand Down

0 comments on commit 15d94eb

Please sign in to comment.