Merge pull request #14063 from backstage/fix-custom-rules-docs

docs: fix toQuery method in custom rules permissions docs
This commit is contained in:
MT Lewis
2022-10-11 18:38:56 +01:00
committed by GitHub
+1 -1
View File
@@ -30,7 +30,7 @@ export const isInSystemRule = createCatalogPermissionRule({
},
toQuery: (systemRef: string) => ({
key: 'relations.partOf',
value: systemRef,
values: [systemRef],
}),
});