Merge pull request #150 from TeamBNBN/BE/userinfo

feat: openvidu 설정
This commit is contained in:
Jungmin 2024-07-31 12:38:17 +09:00 committed by GitHub
commit f4bbfb27ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ public class Controller {
if(findUser.getRole()==UserRole.ADMIN && lecture.isOnline() ) { if(findUser.getRole()==UserRole.ADMIN ){//&& lecture.isOnline() ) {
@ -117,7 +117,7 @@ public class Controller {
return ResponseEntity.ok(Map.of("token", token.toJwt())); return ResponseEntity.ok(Map.of("token", token.toJwt()));
} }
else if(findUser.getRole()==UserRole.STUDENT && lecture.isOnline() ) else if(findUser.getRole()==UserRole.STUDENT )// && lecture.isOnline() )
{ {