yangdx commited on
Commit
292edcb
·
1 Parent(s): 028ff3b

Update clear cache endpoint path

Browse files
lightrag/api/routers/document_routes.py CHANGED
@@ -1261,7 +1261,7 @@ def create_document_routes(
1261
  raise HTTPException(status_code=500, detail=str(e))
1262
 
1263
  @router.post(
1264
- "/cache_clear",
1265
  response_model=ClearCacheResponse,
1266
  dependencies=[Depends(combined_auth)],
1267
  )
 
1261
  raise HTTPException(status_code=500, detail=str(e))
1262
 
1263
  @router.post(
1264
+ "/clear_cache",
1265
  response_model=ClearCacheResponse,
1266
  dependencies=[Depends(combined_auth)],
1267
  )