mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 15:45:58 +08:00
fix duplicate function name (#2437)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
b12a437a30
commit
8a16c8cc44
@ -508,10 +508,11 @@ def create(tenant_id):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
return server_error_response(e)
|
return server_error_response(e)
|
||||||
|
|
||||||
|
|
||||||
@manager.route('/chunk/rm', methods=['POST'])
|
@manager.route('/chunk/rm', methods=['POST'])
|
||||||
@token_required
|
@token_required
|
||||||
@validate_request("chunk_ids", "doc_id")
|
@validate_request("chunk_ids", "doc_id")
|
||||||
def rm():
|
def rm_chunk():
|
||||||
req = request.json
|
req = request.json
|
||||||
try:
|
try:
|
||||||
if not ELASTICSEARCH.deleteByQuery(
|
if not ELASTICSEARCH.deleteByQuery(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user