Skip to content

Commit

Permalink
fix(qview): get branches on cache
Browse files Browse the repository at this point in the history
  • Loading branch information
amrosu committed Oct 5, 2023
1 parent a368237 commit d8c7bd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/create_qgis_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ def print_info_add_layer(layer_name):
'&idCache=' + str(ARG.cache_id)
resp_post_branch = check_get_post(req_post_branch, is_get=False)
# get branch id
resp_get_branches = check_get_post(ARG.url + '/branches', is_get=True)
resp_get_branches = check_get_post(ARG.url + '/branches' +
'?idCache=' + str(ARG.cache_id), is_get=True)
list_all_branches = response2pyobj(resp_get_branches)
branch = next((b for b in list_all_branches if b['name'] == branch_name))
branch_id = branch['id']
Expand Down

0 comments on commit d8c7bd4

Please sign in to comment.