mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-03 01:12:15 +00:00
fix:knowledge document update bug
This commit is contained in:
parent
f6359196b2
commit
ce28ef5ce6
@ -156,7 +156,6 @@ class KnowledgeDocumentDao:
|
|||||||
session = self.Session()
|
session = self.Session()
|
||||||
updated_space = session.merge(document)
|
updated_space = session.merge(document)
|
||||||
session.commit()
|
session.commit()
|
||||||
session.close()
|
|
||||||
return updated_space.id
|
return updated_space.id
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user