Don't include outage number in resolved post

This commit is contained in:
Liam Steckler 2024-06-02 18:21:15 -07:00
parent 0ecc4577c2
commit 8d70c82d99

4
scl.py
View file

@ -453,9 +453,7 @@ with Session(engine) as session:
if active_outage.most_recent_post_id: if active_outage.most_recent_post_id:
try: try:
post_result = mastodon_client.status_post( post_result = mastodon_client.status_post(
status="This outage is reported to be resolved.\n\n#SeattleCityLightOutage #SCLOutage #SCLOutage{}".format( status="This outage is reported to be resolved.\n\n#SeattleCityLightOutage #SCLOutage",
active_outage.outage_user_id
),
in_reply_to_id=active_outage.most_recent_post_id, in_reply_to_id=active_outage.most_recent_post_id,
visibility="public", visibility="public",
language="en", language="en",