This commit is contained in:
Timothy J. Baek
2024-05-29 00:42:19 -07:00
parent e34e8c4fc0
commit ee2e85ca24
2 changed files with 8 additions and 3 deletions

View File

@@ -600,8 +600,8 @@ async def delete_pipeline(
)
@app.post("/v1/reload")
@app.post("/reload")
@app.post("/v1/pipelines/reload")
@app.post("/pipelines/reload")
async def reload_pipelines(user: str = Depends(get_current_user)):
if user == API_KEY:
await reload()