Skip to content

Commit

Permalink
Merge pull request #13 from Timetris-Trendithon/mainpage
Browse files Browse the repository at this point in the history
πŸ›Fix: μ—…λ°μ΄νŠΈκ°€ μ •μƒμ μœΌλ‘œ λ°˜μ˜λ˜λ„λ‘ μˆ˜μ •
  • Loading branch information
Zena0128 authored Feb 19, 2024
2 parents bb0b89e + cb32306 commit 3db18e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void updateDo(long userId, long doId, DoRequestDTO doRequestDTO) {
Category category = categoryRepository.findById(doRequestDTO.getCategoryId())
.orElseThrow(() -> new CustomException(ErrorStatus.CATEGORY_NOT_FOUND_ERROR));
done.updateDo(doRequestDTO.getTitle(), doRequestDTO.getStartTime(), doRequestDTO.getEndTime(), category);
doRepository.save(done);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void updatePlan(long userId, long planId, PlanRequestDTO planRequestDTO)
throw new CustomException(ErrorStatus.NO_PERMISSION_ERROR);
}
plan.updatePlan(planRequestDTO.getTitle(), planRequestDTO.getStartTime(), planRequestDTO.getEndTime(), category);
planRepository.save(plan);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void updateSee(long userId, long seeId, SeeRequestDTO seeRequestDTO) {
throw new CustomException(ErrorStatus.NO_PERMISSION_ERROR);
}
see.updateSee(seeRequestDTO.getContent());
seeRepository.save(see);
}

@Override
Expand Down

0 comments on commit 3db18e7

Please sign in to comment.