remove alt from data json

This commit is contained in:
Nico Jensen 2023-08-23 16:22:36 +02:00
parent e2cbb4e090
commit fe62d71067

View File

@ -41,8 +41,7 @@ class PixelfedAPI:
}
data = {
"status": ImageDescription,
"media_ids": [ImageID],
"alt": ImageAltDescription
"media_ids": [ImageID]
}
try:
response = requests.post(apiurl, headers=headers, json=data)