Skip to content

Commit

Permalink
Update README_Cognito_UserPools_PreSignup.md
Browse files Browse the repository at this point in the history
Make the example linter approved.
  • Loading branch information
Aaron Mulgrew authored Dec 30, 2019
1 parent 6625202 commit faf19d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events/README_Cognito_UserPools_PreSignup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/aws/aws-lambda-go/events"
)

// handler is the lambda handler invoked by the `lambda.Start` function call
func handler(event events.CognitoEventUserPoolsPreSignup) (events.CognitoEventUserPoolsPreSignup, error) {
fmt.Printf("PreSignup of user: %s\n", event.UserName)
event.Response.AutoConfirmUser = true
Expand Down

0 comments on commit faf19d0

Please sign in to comment.