From 4b77e1bca8ab69ea352a83d8520cb0e390db460f Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 10 Dec 2024 10:45:31 +0100 Subject: folder: fix add folder command Fix typo causing an error in the add folder command. --- cli/objects/folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-18-g5258