Removing some TODOs
This commit is contained in:
parent
a762fc1d80
commit
5649933b03
|
@ -64,7 +64,6 @@ internal class DefaultSessionAccountDataService @Inject constructor(
|
|||
return roomAccountDataDataSource.getLiveAccountDataEvents(null, types)
|
||||
}
|
||||
|
||||
// TODO add unit tests
|
||||
override suspend fun updateUserAccountData(type: String, content: Content) {
|
||||
val params = UpdateUserAccountDataTask.AnyParams(type = type, any = content)
|
||||
awaitCallback { callback ->
|
||||
|
|
|
@ -112,7 +112,6 @@ internal class DefaultUpdateUserAccountDataTask @Inject constructor(
|
|||
private val globalErrorReceiver: GlobalErrorReceiver
|
||||
) : UpdateUserAccountDataTask {
|
||||
|
||||
// TODO add unit tests
|
||||
override suspend fun execute(params: UpdateUserAccountDataTask.Params) {
|
||||
return executeRequest(globalErrorReceiver) {
|
||||
accountDataApi.setAccountData(userId, params.type, params.getData())
|
||||
|
|
Loading…
Reference in New Issue