updates gauge off url
This commit is contained in:
@@ -216,7 +216,7 @@ def readGaugeOffData():
|
||||
print("Could not get all gauge off tags: {}".format(e))
|
||||
return False
|
||||
|
||||
post_req = requests.post(API_BASE_URL + "/gauge_off_vals", data=json.dumps(gaugeOffData), headers={'Content-Type': 'application/json'}, verify=False)
|
||||
post_req = requests.post(API_BASE_URL + "/gauge_off", data=json.dumps(gaugeOffData), headers={'Content-Type': 'application/json'}, verify=False)
|
||||
try:
|
||||
post_res_id = json.loads(post_req.text)['_id']
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user