Skip to content

Commit

Permalink
Revert "Make last argument of getEntityRecord optional"
Browse files Browse the repository at this point in the history
This reverts commit cda6087.
  • Loading branch information
oandregal committed Nov 13, 2024
1 parent ccda934 commit fec23a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-data/src/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const getCurrentUser =
* fields, fields must always include the ID.
*/
export const getEntityRecord =
( kind, name, key = '', query = undefined ) =>
( kind, name, key = '', query ) =>
async ( { select, dispatch, registry, resolveSelect } ) => {
const configs = await resolveSelect.getEntitiesConfig( kind );
const entityConfig = configs.find(
Expand Down

0 comments on commit fec23a7

Please sign in to comment.