From c2ea4c48ba2fe950ddf7c3a3857a9e9b160b09c3 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 26 Feb 2023 11:18:33 +1100 Subject: [PATCH] Fix mastodon server for syndication --- lib/adamantium/client/mastodon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adamantium/client/mastodon.rb b/lib/adamantium/client/mastodon.rb index b921186..b7380f0 100644 --- a/lib/adamantium/client/mastodon.rb +++ b/lib/adamantium/client/mastodon.rb @@ -40,7 +40,7 @@ module Adamantium if response.code >= 200 && response.code < 300 status = JSON.parse(response.body, symbolize_names: true) - Success("#{mastodon_server}/#{status[:id]}") + Success("#{settings.mastodon_server}/#{status[:id]}") else Failure(response.message) end