Skip to content

Refactor: 강의생성 API 로그인 된 사용자만 호출하도록 수정 #255

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

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

tmddus2
Copy link
Collaborator

@tmddus2 tmddus2 commented Dec 11, 2023

작업 개요

Refactor: 강의생성 API 로그인 된 사용자만 호출하도록 수정

작업 사항

강의생성하는 API를 기존에는 모든 사용자가 호출할 수 있었고 request body에 강의를 생성하려는 사용자 email이 담겨서 요청이 왔었는데 이 부분을 로그인한 사용자만 호출할 수 있도록 수정했습니다.
API 문서를 위한 swagger 설정들을 추가해줬습니다.

고민한 점들(필수 X)

swagger 설정들을 추가하면서 코드가 깔끔하지 못해지는거 같아서 이 부분을 추후에 개선해봐야겠다.

@tmddus2 tmddus2 requested a review from platinouss December 11, 2023 08:08
@tmddus2 tmddus2 self-assigned this Dec 11, 2023
@tmddus2 tmddus2 added 🛠️ Refactor 리팩토링 작업 BE 백엔드 작업 labels Dec 11, 2023
@tmddus2 tmddus2 added this to the 6주차 milestone Dec 11, 2023
Copy link
Member

@platinouss platinouss left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 ~

@boostcampwm2023 boostcampwm2023 deleted a comment from netlify bot Dec 11, 2023
@platinouss platinouss merged commit 1c1c093 into boostcampwm2023:dev Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 작업 🛠️ Refactor 리팩토링 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants