From 2c45333704da7b439a8221f853e289d0d6ca6bca Mon Sep 17 00:00:00 2001 From: Patryk Gudalewicz Date: Fri, 28 Oct 2022 09:59:01 +0200 Subject: [PATCH] Adjusting env calls --- createDash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createDash.py b/createDash.py index 8ec6927..712f209 100644 --- a/createDash.py +++ b/createDash.py @@ -42,7 +42,7 @@ def make_request(url, DTAPIToken,verify, method, jsondata): return response def get_all_dashboards_withname(DTAPIToken, DTENV,name): - DTAPIURL= DTENV + "api/config/v1/dashboards" + DTAPIURL= DTENV + "/api/config/v1/dashboards" r = make_request(DTAPIURL,DTAPIToken,True,"get",None) print(r) entityResponse = r.json()