summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-12-10 10:45:31 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-12-10 10:45:31 +0100
commit4b77e1bca8ab69ea352a83d8520cb0e390db460f (patch)
treee39bfc1bbbfd5bd57d159c735a5cd90377b882ad /cli
parent0225502832d171e76a97c8fd652de4437bc9514c (diff)
folder: fix add folder command
Fix typo causing an error in the add folder command.
Diffstat (limited to 'cli')
-rw-r--r--cli/objects/folder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/folder.py b/cli/objects/folder.py
index 2519446..7b03a51 100644
--- a/cli/objects/folder.py
+++ b/cli/objects/folder.py
@@ -39,7 +39,7 @@ class OgFolder():
payload['room'] = parsed_args.room_id
if parsed_args.center_id:
payload['center'] = parsed_args.center_id
- res = restest.post('/folder/add', payload=payload)
+ res = rest.post('/folder/add', payload=payload)
if not res:
return 1
return 0