Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Sep 28, 2023
1 parent 6d67e9f commit d001921
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ object FormDataExtractor {
): IO[FileRejection, (FileDescription, BodyPartEntity)] = {
val sizeLimit = Math.min(storageAvailableSpace.getOrElse(Long.MaxValue), maxFileSize)
IO.deferFuture(um(entity.withSizeLimit(sizeLimit)))
.mapError(onError)
.flatMap { formData =>
IO.fromFuture(
formData.parts
Expand Down

0 comments on commit d001921

Please sign in to comment.