mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-01 01:25:32 +08:00
Fix: allow update memory type (#12237)
### What problem does this PR solve? Allow update memory_type. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -70,7 +70,7 @@ async def create_memory():
|
|||||||
|
|
||||||
@manager.route("/<memory_id>", methods=["PUT"]) # noqa: F821
|
@manager.route("/<memory_id>", methods=["PUT"]) # noqa: F821
|
||||||
@login_required
|
@login_required
|
||||||
@not_allowed_parameters("id", "tenant_id", "memory_type", "storage_type")
|
@not_allowed_parameters("id", "tenant_id", "storage_type")
|
||||||
async def update_memory(memory_id):
|
async def update_memory(memory_id):
|
||||||
req = await get_request_json()
|
req = await get_request_json()
|
||||||
update_dict = {}
|
update_dict = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user