summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/objects/modes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/objects/modes.py b/cli/objects/modes.py
index a813d06..6171c84 100644
--- a/cli/objects/modes.py
+++ b/cli/objects/modes.py
@@ -12,7 +12,7 @@ class OgModes():
@staticmethod
def list_available_modes(rest):
- r = rest.get('/modes')
+ r = rest.get('/mode')
print(r.json())
@staticmethod
@@ -30,4 +30,4 @@ class OgModes():
payload = {'scope_name': parsed_args.scope_name[0],
'mode': parsed_args.mode[0]}
- r = rest.post('/modes', payload=payload)
+ r = rest.post('/mode', payload=payload)