Commit e6aa7f16 authored by Vladislav's avatar Vladislav

minor fixes

parent 605c9a26
......@@ -155,7 +155,6 @@ class SubscriptionRepository @Inject constructor(
.flatMapCompletable {
if (it.status == SUBSCRIPTION_RESULT_STATUS){
saveSubscribeState(user,subInnerId,topic,topic_id,false)
.doOnNext { Timber.d("zz -z $it") }
.ignoreElements()
}
else error("Error subscription state!")
......
......@@ -33,7 +33,7 @@ interface SubscriptionContract{
subInnerId: Int?,
topic: String,
topic_id: String?,
nuewState: Boolean
newState: Boolean
): Observable<SubscriptionEntity>
fun saveSubscribeState(sub: SubscriptionEntity): Observable<SubscriptionEntity>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment