Skip to content

Commit

Permalink
Type: record 등록 로직 - id 파라미터 수정 (#86)
Browse files Browse the repository at this point in the history
[Fix] record 등록 로직 - id 파라미터 수정
  • Loading branch information
pingowl authored Nov 13, 2023
2 parents 4802aa8 + 9263529 commit 1f0e342
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 1f0e342

Please sign in to comment.