Skip to content

Commit

Permalink
fix: 제출 상세 조회 시 제출자 다른 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn113 committed Dec 18, 2024
1 parent ff1486d commit 2e0aef7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public SubmissionDetailResponse getDetail(Long examId, Long submissionId, Access
}

Submission submission = submissionRepository.getById(submissionId);
Member submitter = memberRepository.getById(submission.getMemberId());

return submissionMapper.toDetailResponse(exam, submission, member);
return submissionMapper.toDetailResponse(exam, submission, submitter);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.fluffy.submission.domain.dto;

public class SubmissionWithParticipantDto {

}

0 comments on commit 2e0aef7

Please sign in to comment.