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 a82aef5 commit 72c98a0Copy full SHA for 72c98a0
scripts/updateToV5ChallengeIdSmallChunk.js
@@ -71,7 +71,7 @@ function* updateRecords() {
71
const queryParams = _.fromPairs(_.map(legacyChallengeIds, (c, i) => [`:challengeId${i}`, c]))
72
const params = {
73
TableName: tableName,
74
- FilterExpression: `#challengeId IN (${_.join(_.keys(legacyChallengeIds), ',')})`,
+ FilterExpression: `#challengeId IN (${_.join(_.keys(queryParams), ',')})`,
75
ExpressionAttributeNames: {
76
'#challengeId': 'challengeId'
77
},
0 commit comments