Allow posts to mastodon

This commit is contained in:
2023-02-04 14:45:07 +11:00
parent f3bad73f83
commit 2c56fafc49

View File

@@ -50,8 +50,6 @@ module Adamantium
JSON.parse(response.body, symbolize_names: true).fetch(:id, nil)
end&.compact
raise media_ids.inspect
response = HTTParty.post("#{mastodon_server}api/v1/statuses", {
headers: {
"Idempotency-Key": key,