We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a2fd5 commit e8c7323Copy full SHA for e8c7323
src/api/routes/events.ts
@@ -479,6 +479,7 @@ const eventsPlugin: FastifyPluginAsyncZodOpenApi = async (
479
await fastify.dynamoClient.send(
480
new PutItemCommand({
481
TableName: genericConfig.EventsDynamoTableName,
482
+ ConditionExpression: "attribute_not_exists(id)",
483
Item: marshall(entry, { removeUndefinedValues: true }),
484
}),
485
);
0 commit comments