Skip to content

Commit 27e6ad8

Browse files
amcszaarushtools
andauthored
Update intranet/apps/emerg/views.py
Co-authored-by: Aarush Chaurasia <74752581+aarushtools@users.noreply.github.com>
1 parent 545bf0c commit 27e6ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intranet/apps/emerg/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ def get_csl_status() -> Literal["error", "operational", "downtime", "degraded",
131131
The string of the tuple will be one of the following: "error" (parse error), "operational", "downtime", "degraded", "maintenance"
132132
"""
133133

134-
return cache.get("emerg:csl_status")
134+
return cache.get("emerg:csl_status", "error")

0 commit comments

Comments
 (0)