File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,20 +8,20 @@ Please see instructions for setting up the Cognito triggers at https://docs.aws.
8
8
package main
9
9
10
10
import (
11
- " fmt"
11
+ " fmt"
12
12
13
- " github.com/aws/aws-lambda-go/lambda "
14
- " github.com/aws/aws-lambda-go/events "
13
+ " github.com/aws/aws-lambda-go/events "
14
+ " github.com/aws/aws-lambda-go/lambda "
15
15
)
16
16
17
17
// handler is the lambda handler invoked by the `lambda.Start` function call
18
18
func handler (event events .CognitoEventUserPoolsPreSignup ) (events .CognitoEventUserPoolsPreSignup , error ) {
19
- fmt.Printf (" PreSignup of user: %s \n " , event.UserName )
20
- event.Response .AutoConfirmUser = true
21
- return event, nil
19
+ fmt.Printf (" PreSignup of user: %s \n " , event.UserName )
20
+ event.Response .AutoConfirmUser = true
21
+ return event, nil
22
22
}
23
23
24
24
func main () {
25
- lambda.Start (handler)
25
+ lambda.Start (handler)
26
26
}
27
27
```
You can’t perform that action at this time.
0 commit comments