From cb59501b1aca6a04134ed3126deb9f0dccdf1d53 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 26 Jan 2021 23:31:20 +0100 Subject: [PATCH] =?UTF-8?q?Invocation=20du=20processeur=20avec=20les=20bon?= =?UTF-8?q?s=20param=C3=A8tres?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mailboxes/in_mailbox.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mailboxes/in_mailbox.rb b/app/mailboxes/in_mailbox.rb index e35fc0e..2afac15 100644 --- a/app/mailboxes/in_mailbox.rb +++ b/app/mailboxes/in_mailbox.rb @@ -5,8 +5,8 @@ class InMailbox < ApplicationMailbox email = email_importer.import(mail) - processor = RuleSetProcessor.new(email: email) - email = processor.process_all(RuleSet.enabled) + processor = RuleSetProcessor.new + email = processor.process_all(RuleSet.enabled, email) repository.save(email) end