Invocation du processeur avec les bons paramètres
This commit is contained in:
parent
b1e40797d7
commit
cb59501b1a
|
@ -5,8 +5,8 @@ class InMailbox < ApplicationMailbox
|
||||||
|
|
||||||
email = email_importer.import(mail)
|
email = email_importer.import(mail)
|
||||||
|
|
||||||
processor = RuleSetProcessor.new(email: email)
|
processor = RuleSetProcessor.new
|
||||||
email = processor.process_all(RuleSet.enabled)
|
email = processor.process_all(RuleSet.enabled, email)
|
||||||
|
|
||||||
repository.save(email)
|
repository.save(email)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue