docs: fix relationship where query

This commit is contained in:
Elliot DeNolf
2022-09-01 12:12:29 -04:00
parent a1f2dcab8f
commit 7dbcd9ca89

View File

@@ -78,7 +78,7 @@ const relationshipField = {
// returns a Where query dynamically by the type of relationship
if (relationTo === 'products') {
return {
'stock': { is_greater_than: siblingData.quantity }
'stock': { greater_than: siblingData.quantity }
}
}