From cbae805d09671b5b6f2cc30254ebfc046f38d31c Mon Sep 17 00:00:00 2001 From: emily9821 <102820056+dltjwls02@users.noreply.github.com> Date: Wed, 20 Aug 2025 00:07:41 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EB=B6=81=EB=A7=88=ED=81=AC=EB=A1=9C=20?= =?UTF-8?q?=EB=B0=A9=EC=83=9D=EC=84=B1=20=EC=B0=B8=EA=B0=80=EC=9E=90=20?= =?UTF-8?q?=EC=97=B0=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/bookmarkService.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/services/bookmarkService.ts b/src/services/bookmarkService.ts index 319f5e6..2f5cc08 100644 --- a/src/services/bookmarkService.ts +++ b/src/services/bookmarkService.ts @@ -264,6 +264,15 @@ export const createRoomFromBookmark = async ( }, }); + //참가자 목록 추가 + await prisma.roomParticipant.create({ + data: { + roomId: newRoom.roomId, + userId: userId, + role: 'host', + }, + }); + return { roomId: newRoom.roomId, thumbnail: videoThumbnail,