Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public class RecordService {

@Transactional
public void createRecord(UserPrincipal userPrincipal, CreateRecordReq createRecordReq, MultipartFile img) {
// User user = validUserById(userPrincipal);
User user = userRepository.findById(5L).orElseThrow(UserNotFoundException::new);
User user = validUserById(userPrincipal);
// User user = userRepository.findById(5L).orElseThrow(UserNotFoundException::new);
validateCreateRecordReq(createRecordReq);

String recordImgUrl;
Expand Down
Loading