We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d345a92 + a318b64 commit 3bd97cdCopy full SHA for 3bd97cd
src/main/java/com/movelog/domain/record/application/RecordService.java
@@ -53,8 +53,8 @@ public class RecordService {
53
54
@Transactional
55
public void createRecord(UserPrincipal userPrincipal, CreateRecordReq createRecordReq, MultipartFile img) {
56
- // User user = validUserById(userPrincipal);
57
- User user = userRepository.findById(5L).orElseThrow(UserNotFoundException::new);
+ User user = validUserById(userPrincipal);
+ // User user = userRepository.findById(5L).orElseThrow(UserNotFoundException::new);
58
validateCreateRecordReq(createRecordReq);
59
60
String recordImgUrl;
0 commit comments