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 d3ddfa7 commit e007860Copy full SHA for e007860
src/dynamoDBUpdateTable.lambda.ts
@@ -44,9 +44,7 @@ export async function onEventHandler(event: any): Promise<any> {
44
.promise();
45
console.log('Update table: %j', data);
46
47
- return event.RequestType === 'Create' || event.RequestType === 'Update'
48
- ? { PhysicalResourceId: `${indexName}`, data: { fwdToIsComplete: true } }
49
- : {};
+ return { PhysicalResourceId: `${indexName}`, data: { fwdToIsComplete: true } };
50
}
51
52
export async function isCompleteHandler(event: IsCompleteRequest): Promise<IsCompleteResponse> {
0 commit comments