Skip to content

Commit 89134c7

Browse files
committed
deleted setSettings = SetSystemProxy
1 parent 8bd197b commit 89134c7

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

whatsapp_api_client_python/tools/account.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,4 @@ def setSettings(self, requestBody) -> Response:
7474
return self.greenApi.request('POST',
7575
'{{host}}/waInstance{{idInstance}}'
7676
'/SetSettings/{{apiTokenInstance}}',
77-
requestBody)
78-
79-
def setSettings(self) -> Response:
80-
'The method is aimed for setting a system proxy. '\
81-
'Use the method when you need to reset custom proxy '\
82-
'settings to system ones.'
83-
84-
return self.greenApi.request('GET',
85-
'{{host}}/waInstance{{idInstance}}'
86-
'/SetSystemProxy/{{apiTokenInstance}}')
77+
requestBody)

0 commit comments

Comments
 (0)