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.
1 parent c4eb32b commit a318b64Copy full SHA for a318b64
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