Skip to content

Commit

Permalink
Merge pull request #2074 from samvera/fix-size
Browse files Browse the repository at this point in the history
🐛 Ensure :maxFileSize is integer
  • Loading branch information
jeremyf authored Dec 19, 2023
2 parents 5159b57 + e33ffab commit 9e098a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/account_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def reload_library_config
Hyrax.config do |config|
config.contact_email = contact_email
config.geonames_username = geonames_username
config.uploader[:maxFileSize] = file_size_limit
config.uploader[:maxFileSize] = file_size_limit.to_i
end

Devise.mailer_sender = contact_email
Expand Down

0 comments on commit 9e098a8

Please sign in to comment.