Group response downgrade

This commit is contained in:
Filip Izydorczyk 2021-01-19 11:35:47 +01:00
parent d217536f2c
commit 7b9e334328

View File

@ -51,7 +51,7 @@ public class GroupDefaultResponse {
this.endTime = group.getEndTimeString() != null ? group.getEndTimeString() : ""; this.endTime = group.getEndTimeString() != null ? group.getEndTimeString() : "";
this.lecturer = group.getLecturer() != null ? group.getLecturer().toString() : ""; this.lecturer = group.getLecturer() != null ? group.getLecturer().toString() : "";
this.room = group.getRoom() != null ? group.getRoom() : ""; 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;
} }
/** /**