-
Notifications
You must be signed in to change notification settings - Fork 2
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
✨ [FEATURE] 공고 수정 기능 개발 #48
Conversation
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.
👍
.type(announcement.getType()) | ||
.category(announcement.getCategory()) | ||
.content(announcement.getContent()) | ||
.status(AnnouncementStatus.POSTED) |
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.
Response는 announcement.getStatus로 해도 좋을 것 같아요-!
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.
- 게시 중인 공고만 수정 가능하니 위 의견은 무시하셔도 됩니당
|
||
if (!isOrganizationsAnnouncement(authOrganization.getId(), announcement)) | ||
throw new AnnouncementException(AnnouncementErrorCode.INVALID_ORGANIZATION); | ||
|
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.
게시 중인 공고(POSTED상태)만 수정 가능하도록 하는 예외 처리도 필요할 것 같아요-!
☝️Issue Number
🔎 Key Changes
💌 To Reviewers