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() )