diff --git a/app/models/concerns/account_settings.rb b/app/models/concerns/account_settings.rb index 54d8df829..85e98fd5d 100644 --- a/app/models/concerns/account_settings.rb +++ b/app/models/concerns/account_settings.rb @@ -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