From ded420798ea415dc68fee6a9ea4e344d4cdea6b8 Mon Sep 17 00:00:00 2001 From: John Brunton Date: Mon, 12 Aug 2024 22:57:58 +0100 Subject: [PATCH] refactor: room entity type --- services/api/src/domain/entities/room.entity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/api/src/domain/entities/room.entity.ts b/services/api/src/domain/entities/room.entity.ts index a83fede9..16afa270 100644 --- a/services/api/src/domain/entities/room.entity.ts +++ b/services/api/src/domain/entities/room.entity.ts @@ -13,6 +13,6 @@ export class Room { id: string; ownerId: string; name: string; - contentPolicy: ContentPolicy.Public | ContentPolicy.Private; - joinPolicy: JoinPolicy.Anyone | JoinPolicy.Request | JoinPolicy.Invite; + contentPolicy: ContentPolicy; + joinPolicy: JoinPolicy; }