Allow posts to mastodon
This commit is contained in:
@@ -50,8 +50,6 @@ module Adamantium
|
|||||||
JSON.parse(response.body, symbolize_names: true).fetch(:id, nil)
|
JSON.parse(response.body, symbolize_names: true).fetch(:id, nil)
|
||||||
end&.compact
|
end&.compact
|
||||||
|
|
||||||
raise media_ids.inspect
|
|
||||||
|
|
||||||
response = HTTParty.post("#{mastodon_server}api/v1/statuses", {
|
response = HTTParty.post("#{mastodon_server}api/v1/statuses", {
|
||||||
headers: {
|
headers: {
|
||||||
"Idempotency-Key": key,
|
"Idempotency-Key": key,
|
||||||
|
Reference in New Issue
Block a user