From 4fe97139c59fb5a0d2dea1b36fc5f5d88e0aa894 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Wed, 18 Dec 2024 14:10:52 +0100 Subject: cli: remove duplicate payload argument in get() Use only one payload function argument in the http get() function. --- cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cli.py b/cli/cli.py index 0aaf885..cd40d09 100644 --- a/cli/cli.py +++ b/cli/cli.py @@ -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): -- cgit v1.2.3-18-g5258