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:
try:
post_result = mastodon_client.status_post(
status="This outage is reported to be resolved.\n\n#SeattleCityLightOutage #SCLOutage #SCLOutage{}".format(
active_outage.outage_user_id
),
status="This outage is reported to be resolved.\n\n#SeattleCityLightOutage #SCLOutage",
in_reply_to_id=active_outage.most_recent_post_id,
visibility="public",
language="en",