Skip to content

Commit

Permalink
Patterns: set context of pattern category api call to view so authors…
Browse files Browse the repository at this point in the history
… and contributors can access (#55553)
  • Loading branch information
glendaviesnz authored Oct 24, 2023
1 parent ccd87c4 commit 1ee154f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-data/src/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ export const getUserPatternCategories =
{
per_page: -1,
_fields: 'id,name,description,slug',
context: 'view',
}
);

Expand Down

0 comments on commit 1ee154f

Please sign in to comment.