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

Feat/#69 프로젝트 취소 기능 구현 #79

Merged
merged 3 commits into from
Feb 18, 2024

Conversation

happyjamy
Copy link
Collaborator

🚀 개발 사항

프로젝트 취소 기능 구현

이슈 번호

특이 사항 🫶

@happyjamy happyjamy self-assigned this Feb 18, 2024
Copy link

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 224024f.

Copy link
Collaborator

Choose a reason for hiding this comment

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

LGTM 👍🏻

Copy link
Collaborator

@tidavid1 tidavid1 left a comment

Choose a reason for hiding this comment

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

리뷰 확인해주세요! 👍🏻

Copy link
Collaborator

Choose a reason for hiding this comment

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

서비스마다 중복되는 getUser 메서드를 방지하고자 UserCommonService에 유저 조회 메서드를 구현했습니다. 이를 사용하면 좋을 것 같아요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

오 좋습니당

@UserId Long userId, @PathVariable Long id
) {
projectService.cancel(userId, id);
return ResponseEntity.status(200).body(ProjectIdRes.from(id));
Copy link
Collaborator

Choose a reason for hiding this comment

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

ResponseEntity.ok().body(ProjectIdRes.from(id)); 대신 ..status(200) 쓴 이유가 궁금해요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

딱히 이유는 없어용 ㅎㅅㅎ 저는 body 가 있을때는 상태코드를 명시하는 편이라... 일괄로 맞춰야 하면 맞추겠습니다!

@happyjamy happyjamy merged commit 5c07b8a into develop Feb 18, 2024
3 checks passed
@happyjamy happyjamy deleted the feat/#69-project_cancled branch February 18, 2024 13:54
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.

[💡 FEAT] 프로젝트 상태변경 - 취소 구현
2 participants