Merge pull request #66 from hwanny1128/fix/dashboard

Fix: 대시보드 조회 API 장소 해결
This commit is contained in:
Cho Yoon Jin 2025-10-31 14:07:34 +09:00 committed by GitHub
commit 119b9d7931
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4107 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -103,8 +103,8 @@ public class DashboardDTO {
.meetingId(meeting.getMeetingId()) .meetingId(meeting.getMeetingId())
.title(meeting.getTitle()) .title(meeting.getTitle())
.startTime(meeting.getScheduledAt()) .startTime(meeting.getScheduledAt())
.endTime(null) // Meeting 도메인에 endTime이 없음 .endTime(meeting.getEndTime())
.location(null) // Meeting 도메인에 location이 없음 .location(meeting.getLocation())
.participantCount(meeting.getParticipants() != null ? meeting.getParticipants().size() : 0) .participantCount(meeting.getParticipants() != null ? meeting.getParticipants().size() : 0)
.status(meeting.getStatus()) .status(meeting.getStatus())
.userRole(currentUserId.equals(meeting.getOrganizerId()) ? "CREATOR" : "PARTICIPANT") .userRole(currentUserId.equals(meeting.getOrganizerId()) ? "CREATOR" : "PARTICIPANT")