Skip to content

Commit d09ce6e

Browse files
authored
Fix: [AEA-0000] - Silent running database fix (#1893)
## Summary - Routine Change ### Details Kayal has found that when we are using silent running, the database is not updated correctly. This is an exploratory PR to see what's going on.
1 parent 104f7d9 commit d09ce6e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/nhsNotifyLambda/src/utils/dynamo.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ export async function checkCooldownForUpdate(
8585
TableName: dynamoTable,
8686
Key: {
8787
NHSNumber: update.PatientNHSNumber,
88-
ODSCode: update.PharmacyODSCode,
89-
requestID: update.RequestID
88+
ODSCode: update.PharmacyODSCode
9089
}
9190
})
9291
const {Item} = await docClient.send(getCmd)

0 commit comments

Comments
 (0)