FIX: Migration typo for secure_uploads (#18408)

Fixes typo from 8ebd5edd1e causing
deploy issues.
This commit is contained in:
Martin Brennan 2022-09-29 11:30:14 +10:00 committed by GitHub
parent 854ec97772
commit 87a6cab772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class SetSecureUploadsSettingsBasedOnSecureMediaEquivalent < ActiveRecord::Migra
if secure_media_max_email_embed_image_size_kb.present?
execute <<~SQL
INSERT INTO site_settings(name, data_type, value, created_at, updated_at)
VALUES ('secure_uploads_max_email_embed_image_size_kb', 3, '#{secure_uploads_max_email_embed_image_size_kb[0]}', now(), now())
VALUES ('secure_uploads_max_email_embed_image_size_kb', 3, '#{secure_media_max_email_embed_image_size_kb[0]}', now(), now())
SQL
end
end