Skip to content

Commit

Permalink
[FIX] part Enum -> String에 따른 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed Jan 13, 2024
1 parent 2e048e1 commit 4f05e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public interface ApplicationReadApi {
)
ResponseEntity<ApplicationsGetResponse> getApplications(Principal principal);

@Deprecated
@Operation(summary = "지원서 정보 가져오기")
@ApiResponses(
value = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public ApplicationPage4Response getApplicationPage4(Long applicationId, Long use
public ApplicationGetResponse getApplication(Long applicationId, Long userId) {
val application = applicationJpaRepository.findByIdOrThrow(applicationId);
checkApplicationOwner(application, userId);
val partQuestion = partQuestionJpaRepository.findByPartAndGenerationOrThrow(application.getPart(), currentGeneration);
val partQuestion = partQuestionJpaRepository.findByPartAndGenerationOrThrow(application.getPart().toString(), currentGeneration);
val commonQuestion = commonQuestionRepository.findByGenerationOrThrow(currentGeneration);

return ApplicationGetResponse.of(
Expand Down

0 comments on commit 4f05e0d

Please sign in to comment.