Compare commits

..

1 Commits

Author SHA1 Message Date
Alejandro Sirgo Rica 4fe97139c5 cli: remove duplicate payload argument in get()
Use only one payload function argument in the http get() function.
2024-12-18 14:10:52 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class OgREST():
print(f"An error occurred while contacting ogserver: {e}")
return None
def get(self, path, payload, payload=None):
def get(self, path, payload=None):
return self._request('GET', path, payload, expected_status={200})
def post(self, path, payload):