fix: add missing file_path for mongo impl
Browse files
lightrag/kg/mongo_impl.py
CHANGED
@@ -221,6 +221,7 @@ class MongoDocStatusStorage(DocStatusStorage):
|
|
221 |
created_at=doc.get("created_at"),
|
222 |
updated_at=doc.get("updated_at"),
|
223 |
chunks_count=doc.get("chunks_count", -1),
|
|
|
224 |
)
|
225 |
for doc in result
|
226 |
}
|
|
|
221 |
created_at=doc.get("created_at"),
|
222 |
updated_at=doc.get("updated_at"),
|
223 |
chunks_count=doc.get("chunks_count", -1),
|
224 |
+
file_path=doc.get("file_path", doc["_id"])
|
225 |
)
|
226 |
for doc in result
|
227 |
}
|