@@ -45,6 +45,7 @@ export class ShareAPI extends Construct {
4545 environment : {
4646 VERSION : this . node . getContext ( 'version' ) ,
4747 PUBLIC_DEVICES_TABLE_NAME : publicDevices . publicDevicesTable . tableName ,
48+ PUBLIC_DEVICES_ID_INDEX_NAME : publicDevices . idIndex ,
4849 FROM_EMAIL : `notification@${ domain } ` ,
4950 NODE_NO_WARNINGS : '1' ,
5051 IS_TEST : this . node . getContext ( 'isTest' ) === true ? '1' : '0' ,
@@ -83,6 +84,7 @@ export class ShareAPI extends Construct {
8384 environment : {
8485 VERSION : this . node . getContext ( 'version' ) ,
8586 PUBLIC_DEVICES_TABLE_NAME : publicDevices . publicDevicesTable . tableName ,
87+ PUBLIC_DEVICES_ID_INDEX_NAME : publicDevices . idIndex ,
8688 NODE_NO_WARNINGS : '1' ,
8789 } ,
8890 ...new LambdaLogGroup ( this , 'confirmOwnershipFnLogs' ) ,
@@ -101,6 +103,7 @@ export class ShareAPI extends Construct {
101103 environment : {
102104 VERSION : this . node . getContext ( 'version' ) ,
103105 PUBLIC_DEVICES_TABLE_NAME : publicDevices . publicDevicesTable . tableName ,
106+ PUBLIC_DEVICES_ID_INDEX_NAME : publicDevices . idIndex ,
104107 NODE_NO_WARNINGS : '1' ,
105108 } ,
106109 ...new LambdaLogGroup ( this , 'sharingStatusFnLogs' ) ,
0 commit comments