Skip to content

Commit f84b37f

Browse files
NSCoderbmoffatt
authored andcommitted
Update AppSync example (#137)
Updated the example to fix compilation error
1 parent deb5700 commit f84b37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events/README_AppSync.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
func handler(ctx context.Context, event events.AppSyncResolverTemplate) error {
1818

1919
fmt.Printf("Version: %s\n", event.Version)
20-
fmt.Printf("Operation: %s\n", event.AppSyncOperation)
20+
fmt.Printf("Operation: %s\n", event.Operation)
2121
fmt.Printf("Payload: %s\n", string(event.Payload))
2222

2323
return nil

0 commit comments

Comments
 (0)