mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-09 13:11:58 +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")
|
@app.get("/status")
|
||||||
async def api_root():
|
async def api_status():
|
||||||
if crud.is_enabled():
|
if crud.is_enabled():
|
||||||
return {
|
return {
|
||||||
"app": "running",
|
"app": "running",
|
||||||
|
|
Loading…
Add table
Reference in a new issue