We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbf8f14 commit b0695a8Copy full SHA for b0695a8
src/index.ts
@@ -3,8 +3,9 @@ import { SESClient, SendEmailCommand } from '@aws-sdk/client-ses';
3
4
export const handler: SQSHandler = async (event: SQSEvent) => {
5
const body = event.Records[0]!.body;
6
+ console.log('body:', body);
7
const message = JSON.parse(body) as ReservationMessage;
-
8
+ console.log('message:', message);
9
const sesClient = new SESClient();
10
11
const githubRepoUrl = 'https://github.com/project-notification/readme/issues';
0 commit comments