Skip to content

Conversation

@k906506
Copy link
Collaborator

@k906506 k906506 commented Apr 20, 2025

#️⃣ 연관된 이슈

[feature-49] 디스코드 웹훅 연결 #49

📝 작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

스크린샷 2025-04-20 오후 10 20 16

@k906506 k906506 added the enhancement New feature or request label Apr 20, 2025
@k906506 k906506 requested a review from Jeongminyooa April 20, 2025 13:23
@k906506 k906506 self-assigned this Apr 20, 2025
@github-actions
Copy link

github-actions bot commented Apr 20, 2025

Unit Test Results

1 tests   1 ✔️  0s ⏱️
1 suites  0 💤
1 files    0

Results for commit 791a908.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@Jeongminyooa Jeongminyooa left a 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; // 사용자가 기록하려는 일자 -> 어제 기록을 오늘 등록한 경우 어제일자로 들어감
Copy link
Collaborator

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; // 서버에 기록된 일자
Copy link
Collaborator

Choose a reason for hiding this comment

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

추후 BaseEntity로 따서, createdDateupdateDate 엔터티마다 동일 수준으로 관리되게 하면 되겠다

}

@PutMapping("api/v1/notice/enable/{userKey}")
public ResponseEntity<HttpStatusDTO<UpdateUserNoticeEnableRequestDTO>> updateUserNoticeEnableV1(
Copy link
Collaborator

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";
Copy link
Collaborator

Choose a reason for hiding this comment

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

webhook url yml로 관리 안되고 링크 그대로 올려도 상관없나? 보안 이슈 따로 없는건가 싶어서유

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

수정 완료~

@k906506 k906506 merged commit 1b3a6e1 into dev Apr 22, 2025
2 checks passed
@Jeongminyooa Jeongminyooa deleted the feature-49 branch June 16, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants