Removing some TODOs

This commit is contained in:
Maxime NATUREL 2022-10-03 17:06:42 +02:00
parent a762fc1d80
commit 5649933b03
2 changed files with 0 additions and 2 deletions

View file

@ -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 ->

View file

@ -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())