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

Medicine 삭제 API 구현 #108

Merged
merged 2 commits into from
Aug 3, 2024
Merged

Medicine 삭제 API 구현 #108

merged 2 commits into from
Aug 3, 2024

Conversation

iampingu99
Copy link
Member

@iampingu99 iampingu99 commented Aug 3, 2024

🔥 작업 동기 및 이슈

  • close: #

🛠️ 변경 사항

  • 영양제 삭제 API 구현
  • cascade 를 사용하여 삭제 시 영양제 복용 기록도 모두 삭제

☑️ 테스트 결과

  • 영양제 삭제 성공
    image

  • 영양제 삭제 실패 : 403 - 영양제의 작성자가 아닌 경우
    image

  • 영양제 삭제 실패 : 404 - 영양제가 존재하지 않는 경우
    image

🌟 참고사항

@iampingu99 iampingu99 self-assigned this Aug 3, 2024
@iampingu99 iampingu99 changed the title Feature medicine Medicine 삭제 API 구현 Aug 3, 2024
@iampingu99 iampingu99 merged commit 38dff18 into main Aug 3, 2024
1 check passed
@iampingu99 iampingu99 deleted the feature-medicine branch August 6, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant