posiible mistake in course checking

This commit is contained in:
filipizydorczyk 2021-01-19 23:59:30 +01:00
parent 548e39dc63
commit 08a4bdde06

View File

@ -91,7 +91,7 @@ public class ExchangeController extends TokenBasedController {
if (assignmentInstance.getGroup().getCourseId() != null
&& ! assignmentInstance.getGroup().getCourseId().getId().equals(groupInstance.getCourseId().getId())) {
System.out.println(assignmentInstance.getGroup().getCourseId().getId());
System.out.println(groupInstance.getCourseId().getId()));
System.out.println(groupInstance.getCourseId().getId());
return new ResponseEntity<>("You can performe exchange only within one course.", HttpStatus.BAD_REQUEST);
}