mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-01 21:37:33 +08:00
fix: write wrong type of metadata (#17605)
This commit is contained in:
@@ -577,9 +577,6 @@ func (h *DocumentHandler) ListDocuments(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
// Mirror Python: an explicit id/name filter that matches nothing is an
|
||||
// ownership error rather than an empty page. Each filter's existence is
|
||||
// checked independently of the other.
|
||||
if docID := c.Query("id"); docID != "" {
|
||||
idOpts := opts
|
||||
idOpts.DocIDs = []string{docID}
|
||||
|
||||
Reference in New Issue
Block a user