Skip to content

Commit

Permalink
mediatype can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Aug 30, 2022
1 parent 88f5ed7 commit 5b93156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "org.veupathdb.lib"
version = "1.0.0"
version = "1.0.1"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ internal inline fun RequestEvent.isMultipart() =
* `false`.
*/
internal inline fun ContainerRequest.isMultipart() =
mediaType.isCompatible(MediaType.MULTIPART_FORM_DATA_TYPE)
mediaType?.isCompatible(MediaType.MULTIPART_FORM_DATA_TYPE) ?: false

0 comments on commit 5b93156

Please sign in to comment.