diff --git a/lib/templates/create_attachments.rb b/lib/templates/create_attachments.rb index dcdb7bd9..b6a8f44f 100644 --- a/lib/templates/create_attachments.rb +++ b/lib/templates/create_attachments.rb @@ -59,7 +59,7 @@ module Templates raise PdfEncrypted end - def handle_file_types(_template, file, params) + def handle_file_types(_template, file, _params) raise InvalidFileType, file.content_type end end