Fix de-syndication

This commit is contained in:
2024-03-09 18:11:46 +11:00
parent 9f1a662191
commit 702933c008
2 changed files with 1 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ module Admin
request = if target.to_sym == :mastodon
masto_id = post.syndication_sources[target].split("/").last
if masto_id == ""
if masto_id.nil?
Success()
else
mastodon.de_syndicate(post_id: masto_id)