From 0b6fd85b38d3b4e36faf8f0c262182c2152885f7 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sat, 25 Feb 2023 13:03:00 +1100 Subject: [PATCH] Checkin syndication --- app/commands/posts/create_checkin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/commands/posts/create_checkin.rb b/app/commands/posts/create_checkin.rb index f2d5c00..0422d87 100644 --- a/app/commands/posts/create_checkin.rb +++ b/app/commands/posts/create_checkin.rb @@ -16,7 +16,7 @@ module Adamantium post_params = prepare_params(params: post) created_post = post_repo.create(post_params) - post.syndication_sources.each do |url| + post[:syndication_sources].each do |url| add_post_syndication_source.call(created_post.id, :swarm, url) end