mirror of https://git.48k.eu/ogcli/
cli: remove duplicate payload argument in get()
Use only one payload function argument in the http get() function.master v0.3.3-16
parent
7d2678422e
commit
4fe97139c5
|
@ -74,7 +74,7 @@ class OgREST():
|
||||||
print(f"An error occurred while contacting ogserver: {e}")
|
print(f"An error occurred while contacting ogserver: {e}")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get(self, path, payload, payload=None):
|
def get(self, path, payload=None):
|
||||||
return self._request('GET', path, payload, expected_status={200})
|
return self._request('GET', path, payload, expected_status={200})
|
||||||
|
|
||||||
def post(self, path, payload):
|
def post(self, path, payload):
|
||||||
|
|
Loading…
Reference in New Issue