Log outage geometries to database #68

Merged
buckbanzai merged 6 commits from log-outage-location into main 2024-11-23 17:14:30 -08:00
Showing only changes of commit cf60a7f924 - Show all commits

13
scl.py
View file

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