diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-12-18 14:10:52 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-12-18 14:10:52 +0100 |
commit | 4fe97139c59fb5a0d2dea1b36fc5f5d88e0aa894 (patch) | |
tree | 21c189f7249d65e119ab7dc48a18d6ce9c651790 /cli | |
parent | 7d2678422eb26f0930932fd8814c68eae0ea3dda (diff) |
Use only one payload function argument in the http get() function.
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |