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