diff --git a/app/models/concerns/alegre_webhooks.rb b/app/models/concerns/alegre_webhooks.rb index 5810d68b5..12eaebdf7 100644 --- a/app/models/concerns/alegre_webhooks.rb +++ b/app/models/concerns/alegre_webhooks.rb @@ -10,7 +10,7 @@ def webhook(request) # "data": data, # }) pm = ProjectMedia.find(request.params["data"]["requested"]["body"]["context"]["project_media_id"]) - get_similar_items(pm) + relate_project_media_to_similar_items(pm) end end end \ No newline at end of file