크리에이터 팔로우 API
- 팔로우 / 언팔로우 / 알림 받기 / 알림 받지 않기 를 모두 처리할 수 있도록 수정
This commit is contained in:
@@ -142,7 +142,14 @@ class MemberController(private val service: MemberService) {
|
||||
) = run {
|
||||
if (member == null) throw SodaException("로그인 정보를 확인해주세요.")
|
||||
|
||||
ApiResponse.ok(service.creatorFollow(creatorId = request.creatorId, memberId = member.id!!))
|
||||
ApiResponse.ok(
|
||||
service.creatorFollow(
|
||||
creatorId = request.creatorId,
|
||||
isNotify = request.isNotify ?: true,
|
||||
isActive = request.isActive ?: true,
|
||||
memberId = member.id!!
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@PostMapping("/creator/unfollow")
|
||||
|
Reference in New Issue
Block a user