From 156955d84704bd6aed3f1e3942d47fb76f837ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=95=EB=AF=BC?= Date: Fri, 2 Aug 2024 13:48:23 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20openvidu=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/edufocus/edufocus/video/controller/Controller.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java b/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java index e0af090..d11f2b4 100644 --- a/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java +++ b/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java @@ -132,8 +132,9 @@ public class Controller { videoSertvice.startOnline(userId, id); + System.out.println(); - return ResponseEntity.ok(Map.of("joinroom token", token.toJwt())); + return ResponseEntity.ok(Map.of("token", token.toJwt())); } else if(findUser.getRole()==UserRole.STUDENT )// && lecture.isOnline() )