Skip to content

Commit 9afdaaf

Browse files
Jerry KindallElad Ben-Israel
authored andcommitted
docs(appsync): fix argument in Values.projecting() call (#12855)
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*
1 parent 98d4f34 commit 9afdaaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-appsync/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ demoDS.createResolver({
8989
fieldName: 'addDemo',
9090
requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(
9191
appsync.PrimaryKey.partition('id').auto(),
92-
appsync.Values.projecting('demo')
92+
appsync.Values.projecting('input')
9393
),
9494
responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),
9595
});

0 commit comments

Comments
 (0)