From 34a169bf21f89a34f7f2639b230c9060cd05c071 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Wed, 4 Jan 2023 09:30:33 +0100 Subject: [PATCH 1/2] fix: Switch Collab Manager session and database session --- backend/capellacollab/sessions/idletimeout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/capellacollab/sessions/idletimeout.py b/backend/capellacollab/sessions/idletimeout.py index cfc9a0b96..0acf1dcd8 100644 --- a/backend/capellacollab/sessions/idletimeout.py +++ b/backend/capellacollab/sessions/idletimeout.py @@ -34,7 +34,7 @@ def terminate_idle_session(): log.info("Terminating idle session %s", session_id) with database.SessionLocal() as db: if session := get_session_by_id(db, session_id): - util.terminate_session(session, db, OPERATOR) + util.terminate_session(db, session, OPERATOR) else: log.error( "Session was not found in our database. Terminating idle session %s", From 9f0d692d39d0b1d1d3ed1cc16900ca27f4c1b895 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Wed, 4 Jan 2023 09:35:11 +0100 Subject: [PATCH 2/2] docs: Fix styling --- docs/user/docs/getting-started/capella-intro.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user/docs/getting-started/capella-intro.md b/docs/user/docs/getting-started/capella-intro.md index 52f8f3260..0ac99a490 100644 --- a/docs/user/docs/getting-started/capella-intro.md +++ b/docs/user/docs/getting-started/capella-intro.md @@ -21,7 +21,8 @@ A very nice set of videos, highly recommended to watch: You may find more Capella - related videos on the official channel: [EclipseCapella](https://www.youtube.com/c/EclipseCapella/videos) -Also you can try out this [Capella Tutorial](https://esd.sutd.edu.sg/40014-capella-tutorial/index.html) +Also you can try out this +[Capella Tutorial](https://esd.sutd.edu.sg/40014-capella-tutorial/index.html) ## More advanced topics