diff --git a/app/models/concerns/article.rb b/app/models/concerns/article.rb index e4b1ed48be..3cfafc5dda 100644 --- a/app/models/concerns/article.rb +++ b/app/models/concerns/article.rb @@ -84,7 +84,7 @@ def send_to_alegre(id) obj = self.find_by_id(id) return if obj.project_media.nil? obj.text_fields.each do |field| - ::Bot::Alegre.send_field_to_similarity_index(obj.project_media, field) + ::Bot::Alegre.relate_project_media_async(obj.project_media, field) end unless obj.nil? end end