Skip to content

Commit

Permalink
deleted setSettings = SetSystemProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
EscHelpNew committed Mar 21, 2023
1 parent 8bd197b commit 89134c7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions whatsapp_api_client_python/tools/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,4 @@ def setSettings(self, requestBody) -> Response:
return self.greenApi.request('POST',
'{{host}}/waInstance{{idInstance}}'
'/SetSettings/{{apiTokenInstance}}',
requestBody)

def setSettings(self) -> Response:
'The method is aimed for setting a system proxy. '\
'Use the method when you need to reset custom proxy '\
'settings to system ones.'

return self.greenApi.request('GET',
'{{host}}/waInstance{{idInstance}}'
'/SetSystemProxy/{{apiTokenInstance}}')
requestBody)

0 comments on commit 89134c7

Please sign in to comment.