Skip to content

Commit

Permalink
Merge pull request #4393 from guardian/an/fallback-max-file-size-bytes
Browse files Browse the repository at this point in the history
Add a fallback for when the upload limit is undefined
  • Loading branch information
andrew-nowak authored Jan 9, 2025
2 parents d36b478 + 1441406 commit 81c0387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kahuna/app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
permissionsDefault: "@kahunaConfig.permissionsDefault",
defaultShouldBlurGraphicImages: @kahunaConfig.defaultShouldBlurGraphicImages,
shouldUploadStraightToBucket: @kahunaConfig.shouldUploadStraightToBucket,
maybeUploadLimitInBytes: @kahunaConfig.maybeUploadLimitInBytes,
maybeUploadLimitInBytes: @kahunaConfig.maybeUploadLimitInBytes.getOrElse(0),
announcements: @Html(announcements),
imageTypes: @Html(imageTypes),
}
Expand Down

0 comments on commit 81c0387

Please sign in to comment.