From ea96786331907b08067eb33912bc8170260170c7 Mon Sep 17 00:00:00 2001 From: amangoel1234 <39776901+amangoel1234@users.noreply.github.com> Date: Sat, 5 Oct 2024 11:26:43 +0530 Subject: [PATCH] Update smartConnect.py - privateKey initiated with privatekey instead of apikey In the initialization function, privateKey variable is initiated with api key instead of privateKey. --- SmartApi/smartConnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartApi/smartConnect.py b/SmartApi/smartConnect.py index f0cfa863..64cddd05 100644 --- a/SmartApi/smartConnect.py +++ b/SmartApi/smartConnect.py @@ -100,7 +100,7 @@ def __init__(self, api_key=None, access_token=None, refresh_token=None,feed_toke self.clientLocalIP=self.clientLocalIp self.clientPublicIP=self.clientPublicIp self.clientMacAddress=self.clientMacAddress - self.privateKey=api_key + self.privateKey=privateKey self.accept=self.accept self.userType=self.userType self.sourceID=self.sourceID