Fix syndication to Day One

This commit is contained in:
2023-04-23 10:45:14 +10:00
parent 9254fa5018
commit b886937c0b

View File

@@ -18,7 +18,7 @@ module Adamantium
post_params = prepare_params(params: post)
created_post = post_repo.create(post_params)
send_to_dayone.call(name: post.name, content: post.content) if post[:category].include? "weekly"
send_to_dayone.call(name: post[:name], content: post[:content]) if post[:category].include? "weekly"
syndicate.call(created_post.id, post)
# decorated_post = Decorators::Posts::Decorator.new(created_post)