크리에이터 채널 - 팔로우와 알림설정
- 팔로잉 상태에서 알림 켜기/끄기 상태 추가
This commit is contained in:
@@ -69,8 +69,8 @@ final class UserRepository {
|
||||
return api.requestPublisher(.updatePushToken(request: PushTokenUpdateRequest(pushToken: pushToken)))
|
||||
}
|
||||
|
||||
func creatorFollow(creatorId: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.creatorFollow(request: CreatorFollowRequest(creatorId: creatorId)))
|
||||
func creatorFollow(creatorId: Int, follow: Bool = true, notify: Bool = true) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.creatorFollow(request: CreatorFollowRequest(creatorId: creatorId, isNotify: notify, isActive: follow)))
|
||||
}
|
||||
|
||||
func creatorUnFollow(creatorId: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
|
Reference in New Issue
Block a user