mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-28 11:48:10 +08:00
Refactor: migrate document run api (#14351)
### What problem does this PR solve? Before migration: POST /v1/document/run After migration: POST /api/v1/documents/ingest/ ### Type of change - [x] Refactoring
This commit is contained in:
@@ -301,7 +301,7 @@ export const useRunDocument = () => {
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: [DocumentApiAction.FetchDocumentList],
|
||||
});
|
||||
const ret = await kbService.documentRun({
|
||||
const ret = await kbService.documentIngest({
|
||||
doc_ids: documentIds,
|
||||
run,
|
||||
...(option || {}),
|
||||
|
||||
Reference in New Issue
Block a user