Fix do_initial_post
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/vulnerability-scan Pipeline failed
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/vulnerability-scan Pipeline was successful

This commit is contained in:
Liam Steckler 2024-11-23 17:12:52 -08:00
parent 78f9a2665e
commit cf60a7f924

13
scl.py
View file

@ -261,13 +261,12 @@ Cause: {}
) )
) )
post_result = {"id": "0123"} post_result = mastodon_client.status_post(
# post_result = mastodon_client.status_post( status=post_text,
# status=post_text, media_ids=map_media_post,
# media_ids=map_media_post, visibility="public",
# visibility="public", language="en",
# language="en", )
# )
post_id = post_result["id"] post_id = post_result["id"]
return {"post_id": post_id, "map_media_post_id": map_media_post_id} return {"post_id": post_id, "map_media_post_id": map_media_post_id}