ready to PR
This commit is contained in:
@ -88,7 +88,6 @@ public class CourseController {
|
||||
{
|
||||
if (authServ.isNotIn(new Role[]{Role.Secretary,Role.Admin},token))
|
||||
return new UnauthorizedResponse<>(null);
|
||||
System.out.println(course.getOwner().getRegNo());
|
||||
Course createdCourse = courseServ.save(course);
|
||||
if (createdCourse == null)
|
||||
return new ResponseEntity<>(null,HttpStatus.BAD_REQUEST);
|
||||
|
Reference in New Issue
Block a user