Skip to content

Commit b40e81c

Browse files
committed
fix: remove self arg from system router
1 parent a07c9fa commit b40e81c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/system/router.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66

77
@system_router.get("/", include_in_schema=False)
8-
async def root(self) -> dict[str, str]:
8+
async def root() -> dict[str, str]:
99
return {"message": "MusicBox API"}
1010

1111

1212
@system_router.get("/health", include_in_schema=False)
13-
async def health(self) -> JSONResponse:
13+
async def health() -> JSONResponse:
1414
data = {"music-box-api": status.HTTP_200_OK}
1515
return JSONResponse(data, status_code=status.HTTP_200_OK)

0 commit comments

Comments
 (0)