Explictly set multipart
This commit is contained in:
@@ -37,6 +37,7 @@ module Adamantium
|
|||||||
headers: {
|
headers: {
|
||||||
Authorization: "Bearer #{mastodon_token}"
|
Authorization: "Bearer #{mastodon_token}"
|
||||||
},
|
},
|
||||||
|
multipart: true,
|
||||||
body: {
|
body: {
|
||||||
file: file,
|
file: file,
|
||||||
description: photo[:alt]
|
description: photo[:alt]
|
||||||
|
Reference in New Issue
Block a user