sauvegarde du mail dans Elasticsearch

This commit is contained in:
Jérémy Lecour 2020-12-28 00:53:14 +01:00
parent f07697ec38
commit 3c8e56e230

View file

@ -17,7 +17,8 @@ class InMailbox < ApplicationMailbox
tickets: tickets(mail)
)
binding.pry
repository = EmailRepository.new
repository.save(email)
rescue => ex
binding.pry
end