mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-07 08:01:13 +08:00
Refactor: migrate doc upload info used in chat (#14359)
### What problem does this PR solve? Before migration: POST /v1/document/upload_info/ After migration: POST /api/v1/documentss/upload/ ### Type of change - [x] Refactoring
This commit is contained in:
@@ -19,7 +19,7 @@ const {
|
||||
chatsTts,
|
||||
chatsMindmap,
|
||||
chatsRelatedQuestions,
|
||||
uploadAndParse,
|
||||
documentInfoUpload,
|
||||
fetchExternalChatInfo,
|
||||
} = api;
|
||||
|
||||
@@ -92,9 +92,9 @@ const methods = {
|
||||
url: chatsRelatedQuestions,
|
||||
method: 'post',
|
||||
},
|
||||
uploadAndParse: {
|
||||
documentInfoUpload: {
|
||||
method: 'post',
|
||||
url: uploadAndParse,
|
||||
url: documentInfoUpload,
|
||||
},
|
||||
fetchExternalChatInfo: {
|
||||
url: fetchExternalChatInfo,
|
||||
|
||||
Reference in New Issue
Block a user