From e17332b2911880555b635981e7e59daf667a8ec0 Mon Sep 17 00:00:00 2001 From: MT Lewis Date: Mon, 10 Oct 2022 15:35:16 +0100 Subject: [PATCH] docs: fix toQuery method in custom rules permissions docs Signed-off-by: MT Lewis --- docs/permissions/custom-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/permissions/custom-rules.md b/docs/permissions/custom-rules.md index 1408d732d3..bef1c0941f 100644 --- a/docs/permissions/custom-rules.md +++ b/docs/permissions/custom-rules.md @@ -30,7 +30,7 @@ export const isInSystemRule = createCatalogPermissionRule({ }, toQuery: (systemRef: string) => ({ key: 'relations.partOf', - value: systemRef, + values: [systemRef], }), });