Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Oct 11, 2024
2 parents 2381344 + 382dd97 commit 5ecd0e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/bot/alegre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ def self.can_create_relationship?(source, target, relationship_type)
end

def self.send_post_create_message(source, target, relationship)
return if relationship.nil?
message_type = relationship.is_confirmed? ? 'related_to_confirmed_similar' : 'related_to_suggested_similar'
message_opts = {item_title: target.title, similar_item_title: source.title}
CheckNotification::InfoMessages.send(
Expand Down

0 comments on commit 5ecd0e8

Please sign in to comment.