-
Notifications
You must be signed in to change notification settings - Fork 1
[feat] 스터디 가입 요청, 수락, 거절 API 추가 #53
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
base: dev
Are you sure you want to change the base?
Conversation
jinny-l
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.
너무 고생많으셨어요!
| @CreatedDate | ||
| private Instant requestTime; |
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에는 requestTime이 없을 텐데 이렇게 수정해도 괜찮은가요??
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.
created_time을 사용하기로 했습니다. schema.sql, ERD 에도 created_time으로 기록했어요
|
|
||
| return ResponseEntity.ok(null); |
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.
바디가 없으면 .ok().build() 하면 됩니당!
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.
감사합니다. 고쳤어요!
✨ Key changes
👋 To reviewers
추가된 API
스터디 가입 요청 API
POST/api/vi/studies/:studyId/join-requests스터디 가입 요청 수락 API
PATCH/api/v1/studies/:studyId/join-requests/:requestId/accept스터디 가입 요청 거절 API
PATCH/api/v1/studies/:studyId/join-requests/:requestId/reject