We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c9492 commit b5b4159Copy full SHA for b5b4159
1 file changed
lambdas/upsert-letter/src/handler/upsert-handler.ts
@@ -223,10 +223,10 @@ export default function createUpsertLetterHandler(deps: Deps): SQSHandler {
223
});
224
225
supplier = await processRecordIdempotently(
226
- deps,
227
letterEvent,
228
supplierSpec,
229
perSupplierSuccess,
+ deps,
230
);
231
} catch (error) {
232
deps.logger.error({
@@ -252,10 +252,10 @@ export default function createUpsertLetterHandler(deps: Deps): SQSHandler {
252
}
253
254
async function processRecord(
255
- deps: Deps,
256
letterEvent: LetterStatusChangeEvent | PreparedEvents,
257
supplierSpec: SupplierSpec | undefined,
258
perSupplierSuccess: Map<string, number>,
+ deps: Deps,
259
) {
260
const supplier =
261
!supplierSpec || !supplierSpec.supplierId
0 commit comments