-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Add] #40 - 기존에 구현한 API 유저 서비스 붙이기 #41
Conversation
… 부분을 TaskService로 위임하여 생성하도록 변경
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
굿굿 !!! 수고 많으셨습니다~!
private void validateUserAuthorization(User user, Long userId) { | ||
if (!user.getId().equals(userId)) { | ||
throw new AccessDeniedException(); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p4;
다른 곳에도 쓰일 수 있을 것 같은데 해당 부분 UserService로 옮기는건 어떠신지 ..
@@ -49,8 +49,9 @@ public class Objective { | |||
@Embedded | |||
private Period period; | |||
|
|||
@ColumnDefault("-1") | |||
private short order; | |||
@Builder.Default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p5;
크으 ....
🚀PullRequest🚀
📟 관련 이슈
💻 작업 내용
📝 리뷰 노트