Fix include

This commit is contained in:
2023-01-29 12:43:00 +11:00
parent 377195c8d3
commit 0083f5a4f5

View File

@@ -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