diff --git a/app/commands/posts/create_checkin.rb b/app/commands/posts/create_checkin.rb index 5f63793..f2d5c00 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_params[:syndication_sources].each do |url| + post.syndication_sources.each do |url| add_post_syndication_source.call(created_post.id, :swarm, url) end