docs: fix toQuery method in custom rules permissions docs

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2022-10-10 15:35:16 +01:00
parent 0cc6914ae3
commit e17332b291
+1 -1
View File
@@ -30,7 +30,7 @@ export const isInSystemRule = createCatalogPermissionRule({
},
toQuery: (systemRef: string) => ({
key: 'relations.partOf',
value: systemRef,
values: [systemRef],
}),
});