Skip to content

Commit

Permalink
Update README_Cognito_UserPools_PreTokenGen.md (#230)
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
csakshaug authored and bmoffatt committed Sep 12, 2019
1 parent e5086e5 commit 02a2e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/README_Cognito_UserPools_PreTokenGen.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

func handler(event events.CognitoEventUserPoolsPreTokenGen) (events.CognitoEventUserPoolsPreTokenGen, error) {
fmt.Printf("PreTokenGen of user: %s\n", event.UserName)
event.Response.ClaimOverrideDetails.ClaimsToSupress = []string{"family_name"}
event.Response.ClaimsOverrideDetails.ClaimsToSuppress = []string{"family_name"}
return event, nil
}

Expand Down

0 comments on commit 02a2e04

Please sign in to comment.