From b93449a86140c1ca7f59efd976b2c1ff9da20bba Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sat, 25 Feb 2023 13:00:59 +1100 Subject: [PATCH] Fix 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 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