cli: remove duplicate payload argument in get()

Use only one payload function argument in the http get() function.
master v0.3.3-16
Alejandro Sirgo Rica 2024-12-18 14:10:52 +01:00
parent 7d2678422e
commit 4fe97139c5
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):