Skip to content

Commit

Permalink
Update ServerConfigRepository.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara authored Dec 6, 2024
1 parent cbb2276 commit e6ac7b5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ internal class ServerConfigDataSource(
storeConfig(links, metaData)
}

<<<<<<< HEAD
override suspend fun updateConfigApiVersion(serverConfig: ServerConfig): Either<CoreFailure, Unit> =
fetchMetadata(serverConfig.links)
.flatMap { wrapStorageRequest { dao.updateApiVersion(serverConfig.id, it.commonApiVersion.version) } }
=======
override suspend fun updateConfigMetaData(serverConfig: ServerConfig): Either<CoreFailure, Unit> =
fetchMetadata(serverConfig.links)
.flatMap { newMetaData ->
Expand All @@ -152,7 +147,6 @@ internal class ServerConfigDataSource(
)
}
}
>>>>>>> 790b885dcf (fix: update federation flag when fetching server config [WPB-14728] (#3143))

override suspend fun configForUser(userId: UserId): Either<StorageFailure, ServerConfig> =
wrapStorageRequest { dao.configForUser(userId.toDao()) }
Expand Down

0 comments on commit e6ac7b5

Please sign in to comment.