diff --git a/src/pages/gen2/build-a-backend/data/custom-business-logic/index.mdx b/src/pages/gen2/build-a-backend/data/custom-business-logic/index.mdx index 575b7f9a467..ee37a2a9775 100644 --- a/src/pages/gen2/build-a-backend/data/custom-business-logic/index.mdx +++ b/src/pages/gen2/build-a-backend/data/custom-business-logic/index.mdx @@ -222,7 +222,7 @@ export function request(ctx) { key: util.dynamodb.toMapValues({ id: ctx.args.postId}), update: { expression: 'ADD likes :plusOne', - expressionValues: { 'plusOne': { N: 1 } }, + expressionValues: { ':plusOne': { N: 1 } }, } } }