Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit 2b638cd

Browse files
author
erichendrickson
authored
Update ses-lambda.md
1 parent de52041 commit 2b638cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aws/lambda-with-other-services/ses-lambda/ses-lambda.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ The first way is more simple, but cannot include attachments in the email, so MI
3434

3535
```javascript
3636
const aws = require('aws-sdk');
37-
const ses = new aws.SES({
38-
region: 'us-west-2'
39-
});
4037

4138
exports.handler = function(event, context) {
39+
const ses = new aws.SES({
40+
region: 'us-west-2'
41+
});
4242
console.log("Incoming: ", event);
4343

4444
let params = {

0 commit comments

Comments
 (0)