Skip to content

Commit

Permalink
remove braces
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidycodes committed Aug 1, 2024
1 parent 86f5a90 commit 25926ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/batch-delegate/tests/arrayBatchMerge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('batch delegation', () => {
fieldName: 'books',
key: ({ id }) => id,
argsFromKeys: ids => ({ id: ids }),
valuesFromResults: ({ results }, keys) => {
valuesFromResults: (results, keys) => {
const response = Object.fromEntries(results.map((r: any) => [r.id, r]));

return keys.map(key => response[key] ?? { id: key });
Expand Down

0 comments on commit 25926ea

Please sign in to comment.