Update ktor monorepo to v3 (major) (#146)

* Update ktor monorepo to v3

* Build fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Syer10 <syer10@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-10-05 16:28:06 -04:00
committed by GitHub
parent 231d01301d
commit 06c96b1ab6
4 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ import com.apollographql.apollo.ApolloClient
import com.apollographql.apollo.api.Optional
import io.ktor.client.request.HttpRequestBuilder
import io.ktor.client.request.get
import io.ktor.client.statement.readBytes
import io.ktor.client.statement.readRawBytes
import io.ktor.http.Url
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
@@ -164,7 +164,7 @@ class ChapterRepositoryImpl(
): Flow<ByteArray> {
val realUrl = Url("$serverUrl$url")
return flow { emit(http.get(realUrl, block).readBytes()) }
return flow { emit(http.get(realUrl, block).readRawBytes()) }
}
companion object {