-
Notifications
You must be signed in to change notification settings - Fork 1
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
[#165/refactor]: article 배치 실행 api에 인증 추가 #166
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.
수고하셨습니다
fun batchArticle(@RequestParam(value = "auth") auth: String) { | ||
if (this.auth != auth) { | ||
throw IllegalAccessException("Invalid Permission") | ||
} |
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.
query param은 일반적으로 GET 요청에서만 사용(조회할 데이터에 대한 상세 구분)하는 것이 일반적입니다. 헤더나 바디로 뺄 수. ㅣㅆ는지 검토필요해보입니다
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.
아 저도 동의합니다!
파람으로 해둔 것은 제가 아직 파이어베이스 function에 익숙하지 않아서 post 보다는 get으로 처리할 수 있는 방법으로 구현했어요!
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.
#171 에서 수정하겠습니다!
level: | ||
root: debug | ||
auth: | ||
batch: ${AUTH_BATCH:0518} |
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.
${AUTH_BATCH:0518} 이 필드는 어디서가져오나요?
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.
환경 변수로?!
🎫 연관 이슈
resolved: #165
💁♂️ PR 내용
🙏 작업
🙈 PR 참고 사항
📸 스크린샷
🤖 테스트 체크리스트