We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07c9fa commit b40e81cCopy full SHA for b40e81c
app/system/router.py
@@ -5,11 +5,11 @@
5
6
7
@system_router.get("/", include_in_schema=False)
8
-async def root(self) -> dict[str, str]:
+async def root() -> dict[str, str]:
9
return {"message": "MusicBox API"}
10
11
12
@system_router.get("/health", include_in_schema=False)
13
-async def health(self) -> JSONResponse:
+async def health() -> JSONResponse:
14
data = {"music-box-api": status.HTTP_200_OK}
15
return JSONResponse(data, status_code=status.HTTP_200_OK)
0 commit comments