Skip to content

Commit

Permalink
refactor: 인증 경로 추가 (#noisssue)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelSuho committed Aug 13, 2024
1 parent 54e0904 commit 9353524
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ScrapService {

@Transactional
public void saveScrap(ScrapRequest scrapRequest) {
Member member = memberRepository.findByEmail(scrapRequest.getEmail())
Member member = memberRepository.findById(1L)
.orElseThrow(() -> new RuntimeException("해당 사용자가 존재하지 않습니다."));

Scrap scrap = new Scrap(scrapRequest, member);
Expand Down

0 comments on commit 9353524

Please sign in to comment.