Skip to content

Commit

Permalink
chg: [website] Added alias for /api/sytem/redis_up
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Nov 25, 2024
1 parent 7cf074a commit d018dc5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions website/web/api/v1/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@


@system_ns.route("/system/redis_up")
@system_ns.route(
"/redis_up",
doc={
"description": "Alias for /api/sytem/redis_up",
"deprecated": True,
},
)
@system_ns.doc(description="Check if redis is up and running")
class RedisUp(Resource): # type: ignore[misc]
def get(self) -> bool:
Expand Down

0 comments on commit d018dc5

Please sign in to comment.