mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-06 03:35:26 +08:00
CLI: Fix status page function name already used
This commit is contained in:
parent
4f06e2810f
commit
233a608db4
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ async def api_root(auth=Depends(get_current_username)):
|
|||
|
||||
|
||||
@app.get("/status")
|
||||
async def api_root():
|
||||
async def api_status():
|
||||
if crud.is_enabled():
|
||||
return {
|
||||
"app": "running",
|
||||
|
|
Loading…
Add table
Reference in a new issue