no message

This commit is contained in:
overtake 2017-04-13 21:01:31 +03:00
parent 32d12c5940
commit 752c49e077

View File

@ -131,7 +131,7 @@ public func addPeerAdmin(account: Account, peerId: PeerId, adminId: PeerId) -> S
|> mapError { error -> AddPeerAdminError in
return .addMemberError(error)
}
|> then(account.network.request(Api.functions.channels.editAdmin(channel: inputChannel, userId: inputUser, role: .channelRoleModerator))
|> then(account.network.request(Api.functions.channels.editAdmin(channel: inputChannel, userId: inputUser, role: .channelRoleEditor))
|> mapError { error -> AddPeerAdminError in
return .generic
}