From 78e0726dc2d17f67d828abbd578c967e698c997b Mon Sep 17 00:00:00 2001
From: David Huss <dh@atoav.com>
Date: Thu, 28 May 2020 13:25:43 +0200
Subject: [PATCH] Fix json command

---
 bbbmon/meetings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bbbmon/meetings.py b/bbbmon/meetings.py
index 2d9c545..e5f759d 100644
--- a/bbbmon/meetings.py
+++ b/bbbmon/meetings.py
@@ -358,7 +358,7 @@ def meetings_twolines(config: Config, watch: int, fancy: bool, sum_:bool):
 
 
 def format_json(config: Config, watch: bool, compact: bool) -> str:
-    meetings = [get_meetings(e.secret, e.url, config.path) for e in config.endpoints]
+    meetings = [get_meetings(e.secret, e.url, config.path, sum_=False) for e in config.endpoints]
 
     # Clear screen after request is done, and before printing new data to keep
     # blinking to a minimum
-- 
GitLab