Remove debugger lines

This commit is contained in:
Hugo Peixoto 2024-03-28 11:39:00 +00:00
parent 97c69097cd
commit ec2909df60
2 changed files with 0 additions and 3 deletions

View File

@ -6,8 +6,6 @@ module MemberFilter
filters = params.permit(:prefers_postal, :display_name, :legal_name, :email, :identification_number, status: [], category: []) filters = params.permit(:prefers_postal, :display_name, :legal_name, :email, :identification_number, status: [], category: [])
Rails.logger.info filters
status = filters.fetch(:status, []) - ['any', ''] status = filters.fetch(:status, []) - ['any', '']
category = filters.fetch(:category, []) - ['any', ''] category = filters.fetch(:category, []) - ['any', '']

View File

@ -7,7 +7,6 @@ module Letters
Zip::OutputStream.write_buffer do |out| Zip::OutputStream.write_buffer do |out|
Zip::File.open(io) do |zip| Zip::File.open(io) do |zip|
zip.each do |entry| zip.each do |entry|
pp entry.name
out.put_next_entry(entry.name) out.put_next_entry(entry.name)
if entry.name == "content.xml" if entry.name == "content.xml"
out.write apply_template_xml(entry.get_input_stream.read, params) out.write apply_template_xml(entry.get_input_stream.read, params)