Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
SethO committed Oct 25, 2023
1 parent 993538a commit a4f3fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/updateExpressionBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const internalNameBuilder = (item: any): any => {

const internalValueBuilder = (item: any): any => {
const itemKeys = Object.keys(item);
// itemKeys.reduce((accumulator, k, index) => ({ ...accumulator, [`:value${index}`]: item[k] }), {})

return itemKeys.reduce(
(accumulator, k, index) => ({ ...accumulator, [`:value_${index}`]: item[k] }),
{},
Expand Down

0 comments on commit a4f3fb3

Please sign in to comment.