Skip to content

Commit

Permalink
Removed wrong URL hard-coded
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGherardelli committed Jun 4, 2024
1 parent 2d130ff commit b479fc9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions data_bridges_client/api/incubation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2285,9 +2285,12 @@ def xls_forms_definition_get(
)

# HOTFIX!!!
gateway = 'https://api.wfp.org/vam-data-bridges/4.1.0/XlsForms/definition?xlsFormId=1509&env=prod'
print(f"Param:{_param}")


gateway = 'https://api.wfp.org/'
_param = list(_param)
_param[1] = gateway
_param[1] = _param[1].replace("https://api.vam.wfp.org/", gateway)
_param = tuple(_param)

_response_types_map: Dict[str, Optional[str]] = {
Expand Down

0 comments on commit b479fc9

Please sign in to comment.