diff --git a/backend/capellacollab/sessions/injection.py b/backend/capellacollab/sessions/injection.py index a89e26bd1..d0fa665df 100644 --- a/backend/capellacollab/sessions/injection.py +++ b/backend/capellacollab/sessions/injection.py @@ -36,7 +36,7 @@ def get_idle_state(sid: str) -> sessions_models2.IdleState: if len(response.json()["data"]["result"]) > 0: idle_for_minutes = int( - response.json()["data"]["result"][0]["value"][1] + float(response.json()["data"]["result"][0]["value"][1]) ) return sessions_models2.IdleState( available=True,