Gardel commited on
Commit
e15aa20
·
unverified ·
1 Parent(s): 59095e5

fix: add missing file_path for mongo impl

Browse files
Files changed (1) hide show
  1. lightrag/kg/mongo_impl.py +1 -0
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
  }