Skip to content

Commit ee8e894

Browse files
committed
Lint fix
1 parent 9791a86 commit ee8e894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/organization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,6 @@ def get_admin_email
297297
end
298298

299299
def logo_size_check
300-
errors.add(:logo, 'File size is greater than 1 MB') if logo.byte_size > 1.megabytes
300+
errors.add(:logo, 'File size is greater than 1 MB') if logo.byte_size > 1.megabyte
301301
end
302302
end

0 commit comments

Comments
 (0)