Skip to content

Commit

Permalink
Merge pull request #37 from Ong-gi-Jong-gi/feature/TSK-50/recap-photos
Browse files Browse the repository at this point in the history
Feature/tsk 50/recap photos
  • Loading branch information
dongyeoppp authored Jul 14, 2024
2 parents c92a357 + 5abbbb6 commit d3c7553
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,10 @@ public ApiResponse<VoiceChallengeDto> getVoiceChallenge(@RequestParam("challenge
return new ApiResponse<>("200", "Challenge retrieved successfully",voiceChallengeDto); // 객체를 리스트 형태로 감싸서 반환
}

// // 음성 챌린지 수정
// @PostMapping("/voice")
// public ApiResponse<> saveVoiceAnswer() throws Exception{
//
// }

}
2 changes: 0 additions & 2 deletions src/main/java/ongjong/namanmoo/service/AnswerServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,8 @@ public MemberPhotosAnswerDto getPhotoByMember(List<Member> members) throws Excep
for (Challenge challenge : newChallengeList) {
if (challenge.getChallengeNum() != startChallengeNum+19){
Optional<Answer> answer = answerRepository.findByChallengeAndMember(challenge,member);
log.info("content10 = {}",answer.get().getAnswerId());
if (answer.get().getAnswerType() == PHOTO && answer.get().getAnswerContent() != null){
allOtherPhotos.add(answer.get().getAnswerContent());
log.info("content20 = {}",answer.get().getAnswerContent());
}
}
}
Expand Down

0 comments on commit d3c7553

Please sign in to comment.