Skip to content

Commit

Permalink
fix tx deletion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine de Chevigné committed Dec 17, 2024
1 parent bea6f6e commit 4a13b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/models/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module.exports = (sequelize, DataTypes) => {

const traceSteps = await this.getTraceSteps();
for (let i = 0; i < traceSteps.length; i++)
await traceSteps[i].destroy(transaction);
await traceSteps[i].destroy({ transaction });

const event = await this.getEvent();
if (event)
Expand Down

0 comments on commit 4a13b8b

Please sign in to comment.