From 793c8898dc5c41a5f3f72a2bd5572a40e34253ce Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Mon, 24 Feb 2020 14:45:22 +0000 Subject: [PATCH] [24.02.20] Path changes yet again for sending to gateway - kube is smarter than I thought --- src/utils/databaseConnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/databaseConnect.py b/src/utils/databaseConnect.py index d48888c..ac84cc0 100644 --- a/src/utils/databaseConnect.py +++ b/src/utils/databaseConnect.py @@ -10,7 +10,7 @@ class keys(): def send(query): - uri = keys().uri + ":"+ keys().port + "/graphql" + uri = keys().uri + "/graphql" headers = {'Content-type': 'application/json'} response = requests.post(uri, json={'query': query}, headers=headers)