Skip to content

Commit 03818b4

Browse files
committed
fix: relation filtering for Strapi v5 Document Service API
This commit fixes a critical bug where link mappings were not found due to incorrect relation filter syntax in Strapi v5. Changes: - Use { relation: { documentId: value } } for relation filters - Fix userId filters to use documentId (string) instead of parseInt - Use count() instead of findMany().length for performance Fixes: Link mapping not found errors (e.g., b7d1775f8a9e38000d53a04af63ed1f0/8ea5bd41)
1 parent f413aab commit 03818b4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.releaserc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
]
1616
]
1717
}
18-

0 commit comments

Comments
 (0)