Fix mastodon server for syndication
This commit is contained in:
@@ -40,7 +40,7 @@ module Adamantium
|
|||||||
|
|
||||||
if response.code >= 200 && response.code < 300
|
if response.code >= 200 && response.code < 300
|
||||||
status = JSON.parse(response.body, symbolize_names: true)
|
status = JSON.parse(response.body, symbolize_names: true)
|
||||||
Success("#{mastodon_server}/#{status[:id]}")
|
Success("#{settings.mastodon_server}/#{status[:id]}")
|
||||||
else
|
else
|
||||||
Failure(response.message)
|
Failure(response.message)
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user