diff --git a/restservice/src/main/java/com/plannaplan/responses/models/GroupDefaultResponse.java b/restservice/src/main/java/com/plannaplan/responses/models/GroupDefaultResponse.java index 3e16109..5dce6da 100755 --- a/restservice/src/main/java/com/plannaplan/responses/models/GroupDefaultResponse.java +++ b/restservice/src/main/java/com/plannaplan/responses/models/GroupDefaultResponse.java @@ -51,7 +51,7 @@ public class GroupDefaultResponse { this.endTime = group.getEndTimeString() != null ? group.getEndTimeString() : ""; this.lecturer = group.getLecturer() != null ? group.getLecturer().toString() : ""; this.room = group.getRoom() != null ? group.getRoom() : ""; - this.type = group.getType() != null ? group.getType() : null; + this.type = group.getType() != null ? GroupType.isLectureOrClass(group.getType()) : null; } /**