Skip to content

Commit

Permalink
docs(appsync): fix argument in Values.projecting() call (#12855)
Browse files Browse the repository at this point in the history
Customer reported incorrect argument to Values.projecting() in appsync README

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Jerry Kindall committed Feb 19, 2021
1 parent 1da564e commit 96728aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appsync/README.md
Expand Up @@ -89,7 +89,7 @@ demoDS.createResolver({
fieldName: 'addDemo',
requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(
appsync.PrimaryKey.partition('id').auto(),
appsync.Values.projecting('demo')
appsync.Values.projecting('input')
),
responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),
});
Expand Down

0 comments on commit 96728aa

Please sign in to comment.