Skip to content

Commit

Permalink
fix incorrect type in progressresponsebody
Browse files Browse the repository at this point in the history
  • Loading branch information
az4521 committed Oct 7, 2024
1 parent 7ec3e0a commit 2167a8f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class ProgressResponseBody(private val responseBody: ResponseBody, private val p
source(responseBody.source()).buffer()
}

override fun contentType(): MediaType {
return responseBody.contentType()!!
override fun contentType(): MediaType? {
return responseBody.contentType()
}

override fun contentLength(): Long {
Expand Down

0 comments on commit 2167a8f

Please sign in to comment.