remove alt from data json
This commit is contained in:
parent
e2cbb4e090
commit
fe62d71067
@ -41,8 +41,7 @@ class PixelfedAPI:
|
|||||||
}
|
}
|
||||||
data = {
|
data = {
|
||||||
"status": ImageDescription,
|
"status": ImageDescription,
|
||||||
"media_ids": [ImageID],
|
"media_ids": [ImageID]
|
||||||
"alt": ImageAltDescription
|
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
response = requests.post(apiurl, headers=headers, json=data)
|
response = requests.post(apiurl, headers=headers, json=data)
|
||||||
|
Loading…
Reference in New Issue
Block a user