Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a19661c

Browse files
author
sachin-maheshwari
authored
Merge pull request #122 from yoution/feature/shapeup4-cqrs-update-2
fix: delelte user transaction
2 parents 6d66a65 + a28bf7f commit a19661c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/common/service-helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async function deleteChild (model, id, params, resourceName, transaction) {
218218
params.forEach(attr => { esParams[attr] = record[attr] })
219219

220220
// remove from db
221-
await dbHelper.remove(model, record.id, transaction)
221+
await dbHelper.remove(model, record.id, null, transaction)
222222
await deleteRecordFromEs(record.id, esParams, resourceName)
223223

224224
// sleep for configured time

0 commit comments

Comments
 (0)