Fixing status check for RSI status page

This commit is contained in:
Luke Robles 2023-10-17 10:05:51 -07:00
parent d7ad9840c8
commit 7f80f503b2
2 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class StarCitizen(commands.Cog):
rsi_incident_file = "/tmp/rsi_incident"
status_json = requests.get(status_url + "/index.json").json()
if status_json["summaryStatus"] != "ok":
if status_json["summaryStatus"] != "operational":
# Extract systems with unresolved issues
systems_with_issues = [
system

View File

@ -17,6 +17,7 @@ async def get_msreg(track):
"lightspeed": "BC6417B8-0ED9-DD48-28BA1463C2C14322",
"fast_toys": "F2829F4E-91A1-30B9-919956FB1BE3CFB4",
"drive_tracktime": "F8940175-D299-85F5-4BFFE1243A2D0B88",
"trackedllc": "22332933-D95D-7DD2-A81CE491A98854D5",
}
events = {}
client = httpx.AsyncClient()