Get body from mastodon response
This commit is contained in:
@@ -34,8 +34,8 @@ module Adamantium
|
|||||||
})
|
})
|
||||||
|
|
||||||
if response.code >= 200 && response.code < 300
|
if response.code >= 200 && response.code < 300
|
||||||
status = response.message
|
status = response.body
|
||||||
logger.info("Syndicated to Mastodon: #{response.message}")
|
logger.info("Syndicated to Mastodon: #{response.body}")
|
||||||
Success("#{mastodon_server}/#{status[:id]}")
|
Success("#{mastodon_server}/#{status[:id]}")
|
||||||
else
|
else
|
||||||
logger.info("Failed to syndicate to Mastodon: #{response.message}")
|
logger.info("Failed to syndicate to Mastodon: #{response.message}")
|
||||||
|
Reference in New Issue
Block a user