Skip to content
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

Merged
merged 2 commits into from
Jan 27, 2024
Merged

✨ [FEATURE] 공고 수정 기능 개발 #48

merged 2 commits into from
Jan 27, 2024

Conversation

xxoznge
Copy link
Member

@xxoznge xxoznge commented Jan 26, 2024

☝️Issue Number

🔎 Key Changes

  • 공고 수정하기

💌 To Reviewers

  • 상태를 공고 작성 기능과 같이 POSTED 로 고정했는데 맞을까요?

@xxoznge xxoznge self-assigned this Jan 26, 2024
Copy link
Collaborator

@seheonnn seheonnn left a 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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Response는 announcement.getStatus로 해도 좋을 것 같아요-!

Copy link
Collaborator

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);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

게시 중인 공고(POSTED상태)만 수정 가능하도록 하는 예외 처리도 필요할 것 같아요-!

@seheonnn seheonnn merged commit 9319a60 into develop Jan 27, 2024
1 check passed
@seheonnn seheonnn deleted the feature/#41 branch January 27, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ [FEATURE] 공고 수정 기능 개발
2 participants