From 02a3b7f07b23941e5b0e7fda26809ae259384b93 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Mon, 8 May 2023 18:07:59 +0200 Subject: [PATCH] refactor: make displayName readonly Signed-off-by: Tilman Vatteroth --- backend/src/realtime/realtime-note/realtime-connection.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/realtime/realtime-note/realtime-connection.ts b/backend/src/realtime/realtime-note/realtime-connection.ts index d91fc23a6..db6d77284 100644 --- a/backend/src/realtime/realtime-note/realtime-connection.ts +++ b/backend/src/realtime/realtime-note/realtime-connection.ts @@ -19,8 +19,7 @@ export class RealtimeConnection { private readonly transporter: MessageTransporter; private readonly yDocSyncAdapter: YDocSyncServerAdapter; private readonly realtimeUserStateAdapter: RealtimeUserStatusAdapter; - - private displayName: string; + private readonly displayName: string; /** * Instantiates the connection wrapper.