Skip to content

Commit

Permalink
Fix: record 등록 로직 - id 파라미터 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pingowl committed Nov 13, 2023
1 parent 4802aa8 commit 9263529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/igoMoney/BE/service/RecordService.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class RecordService {
public Long saveRecord (RecordSaveRequest request) throws IOException {

User findUser = getUserOrThrow(request.getUserId());
Challenge challenge = getChallengeOrThrow(request.getUserId());
Challenge challenge = getChallengeOrThrow(request.getChallengeId());
checkPermission(findUser, request.getChallengeId());

checkExistsImage(request.getImage());
Expand Down

0 comments on commit 9263529

Please sign in to comment.