Skip to content

Commit

Permalink
Merge pull request #13 from EscHelpNew/SW-1320
Browse files Browse the repository at this point in the history
Remove SetSystemProxy method
  • Loading branch information
olegius88 authored Mar 23, 2023
2 parents 8bd197b + 89134c7 commit 3a49bd9
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 3a49bd9

Please sign in to comment.