summaryrefslogtreecommitdiffstats
path: root/cli/objects/room.py
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-11 13:45:01 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-11 17:41:17 +0100
commit642b0a49d43d74dfe79e73c9a25d7cd32b1301b5 (patch)
tree529f4a31d904197b97a1ec197c0421a90faaa1b9 /cli/objects/room.py
parent31849a776cd2303ba8320372cb167585f339d11d (diff)
room: use room_id field in json
instead of group, which is not used by the ogserver anymore.
Diffstat (limited to 'cli/objects/room.py')
-rw-r--r--cli/objects/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/room.py b/cli/objects/room.py
index 0eb9ec4..9198237 100644
--- a/cli/objects/room.py
+++ b/cli/objects/room.py
@@ -79,7 +79,7 @@ class OgRoom():
if parsed_args.dns:
payload['dns'] = parsed_args.dns
if parsed_args.folder:
- payload['group'] = parsed_args.folder
+ payload['folder_id'] = parsed_args.folder
if parsed_args.desc:
payload['location'] = parsed_args.desc
rest.post('/room/add', payload=payload)