From 1ee154f51d6b0a743fc7c99ba5959371237bbb0e Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Wed, 25 Oct 2023 00:37:27 +1300 Subject: [PATCH] Patterns: set context of pattern category api call to view so authors and contributors can access (#55553) --- packages/core-data/src/resolvers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core-data/src/resolvers.js b/packages/core-data/src/resolvers.js index 07e9cd98cb5ec3..5fc7cd14f35c0b 100644 --- a/packages/core-data/src/resolvers.js +++ b/packages/core-data/src/resolvers.js @@ -651,6 +651,7 @@ export const getUserPatternCategories = { per_page: -1, _fields: 'id,name,description,slug', + context: 'view', } );