diff --git a/events/README_Cognito_UserPools_PreTokenGen.md b/events/README_Cognito_UserPools_PreTokenGen.md index eddfcb4e..1cbbaf45 100644 --- a/events/README_Cognito_UserPools_PreTokenGen.md +++ b/events/README_Cognito_UserPools_PreTokenGen.md @@ -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 }