Skip to content

Commit

Permalink
NOBUG: Skip indexing user information into opensearch.
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Oct 10, 2024
1 parent d4da343 commit ea2c8eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion handlers/dynamoStream/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ exports.handler = async function (event, context) {

const gsipk = record.dynamodb.Keys.pk;

// If pk === 'userid' then skip
// If pk === USER_ID_PARTITION then skip
if (gsipk.S === USER_ID_PARTITION) {
// TODO: Push data into either a new index and add some sort of record to the audit table.
continue;
}

Expand Down

0 comments on commit ea2c8eb

Please sign in to comment.