-
Notifications
You must be signed in to change notification settings - Fork 0
디스코드 웹훅 연결 #52
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
디스코드 웹훅 연결 #52
Conversation
Jeongminyooa
left a comment
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.
모두 확인 완료!! 코멘트 달아놨어~ 너무 고생많았다아... 이것저것 디테일하게 수정한 부분들이 많네..
| private Long userId; | ||
|
|
||
| private LocalDateTime createdAt; | ||
| private LocalDateTime createdAt; // 사용자가 기록하려는 일자 -> 어제 기록을 오늘 등록한 경우 어제일자로 들어감 |
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.
이거 나중에 헷갈릴 수도 있겠다. recordDate 같은거로 네이밍해도 좋을듯!
| - 2025.04.16 | ||
| - 생성일자, 최종변경일자 칼럼 추가 | ||
| */ | ||
| private LocalDateTime createdDate; // 서버에 기록된 일자 |
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.
추후 BaseEntity로 따서, createdDate랑 updateDate 엔터티마다 동일 수준으로 관리되게 하면 되겠다
| } | ||
|
|
||
| @PutMapping("api/v1/notice/enable/{userKey}") | ||
| public ResponseEntity<HttpStatusDTO<UpdateUserNoticeEnableRequestDTO>> updateUserNoticeEnableV1( |
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.
알림수신 관련 워딩 notice로 나도 통일할게
| private final WebHookRepository webHookRepository; | ||
| private final WebClient webClient; | ||
|
|
||
| private final String webhookUrl = "https://discord.com/api/webhooks/1363380639302156368/wESM5jCLC2irACyRbhV2LmOrfSVXXaBhlGc_2PLaMvbmeukL5D7-1JA2IjukHuoYMTWY"; |
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.
webhook url yml로 관리 안되고 링크 그대로 올려도 상관없나? 보안 이슈 따로 없는건가 싶어서유
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.
수정 완료~
#️⃣ 연관된 이슈
📝 작업 내용