Fix compilation error from Ktor upgrade
Some checks failed
Build & Test / Validate (pull_request) Successful in 25s
Build & Test / Run Unit Tests (pull_request) Successful in 6m46s
Build & Test / Validate (push) Successful in 18s
Build & Test / Run Unit Tests (push) Has been cancelled

This commit is contained in:
William Brawner 2024-11-08 21:02:59 -07:00
parent dbf2b92921
commit d51054848a
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -81,7 +81,7 @@ class HpScannerService(
}
) {
onDownload { bytesSentTotal, contentLength ->
onProgress(bytesSentTotal, contentLength)
onProgress(bytesSentTotal, contentLength?: 0L)
}
}
val responseBody: ByteArray = httpResponse.body()