diff --git a/app/commands/posts/syndicate.rb b/app/commands/posts/syndicate.rb index 97e4800..1035605 100644 --- a/app/commands/posts/syndicate.rb +++ b/app/commands/posts/syndicate.rb @@ -5,7 +5,7 @@ module Adamantium include Deps["settings", "syndication.mastodon"] def call(post) - if post[:syndicate_to].include settings.mastodon_server + if post[:syndicate_to].include? settings.mastodon_server mastodon.call(post: post) end end