diff --git a/restservice/src/main/java/com/plannaplan/controllers/ExchangeController.java b/restservice/src/main/java/com/plannaplan/controllers/ExchangeController.java index 85baa1c..82b69d3 100755 --- a/restservice/src/main/java/com/plannaplan/controllers/ExchangeController.java +++ b/restservice/src/main/java/com/plannaplan/controllers/ExchangeController.java @@ -90,6 +90,8 @@ 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())); return new ResponseEntity<>("You can performe exchange only within one course.", HttpStatus.BAD_REQUEST); }