mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 03:26:53 +08:00
Refactor:memory delete will re-use super method (#12684)
### What problem does this PR solve? memory delete will re-use super method ### Type of change - [x] Refactoring
This commit is contained in:
@ -167,4 +167,4 @@ class MemoryService(CommonService):
|
||||
@classmethod
|
||||
@DB.connection_context()
|
||||
def delete_memory(cls, memory_id: str):
|
||||
return cls.model.delete().where(cls.model.id == memory_id).execute()
|
||||
return cls.delete_by_id(memory_id)
|
||||
|
||||
Reference in New Issue
Block a user