Skip to content

Commit 1963016

Browse files
committed
Uncomment email sending
1 parent d54166c commit 1963016

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/api/routes/organizations.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -546,13 +546,12 @@ const organizationsPlugin: FastifyPluginAsync = async (fastify, _options) => {
546546
region: genericConfig.AwsRegion,
547547
});
548548
}
549-
// Removed while we set up the initial groups
550-
// await sendSqsMessagesInBatches({
551-
// sqsClient: fastify.sqsClient,
552-
// queueUrl: fastify.environmentConfig.SqsQueueUrl,
553-
// logger: request.log,
554-
// sqsPayloads,
555-
// });
549+
await sendSqsMessagesInBatches({
550+
sqsClient: fastify.sqsClient,
551+
queueUrl: fastify.environmentConfig.SqsQueueUrl,
552+
logger: request.log,
553+
sqsPayloads,
554+
});
556555
}
557556

558557
return reply.status(201).send();

0 commit comments

Comments
 (0)