Skip to content

Commit b0bf071

Browse files
fix(mixin): remove transaction from options before audit log (#149)
GH-148
1 parent 997b3b1 commit b0bf071

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mixins/audit.mixin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export function AuditRepositoryMixin<
5555
};
5656
delete extras.actionKey;
5757
delete extras.noAudit;
58+
delete extras.transaction;
5859
return new AuditLog({
5960
actedAt: new Date(),
6061
actor: this.getActor(user, options?.actorId),

0 commit comments

Comments
 (0)