fix: Fix typeorm .save usage (no-changelog) (#8678)

This commit is contained in:
Tomi Turtiainen
2024-02-20 17:34:54 +02:00
committed by GitHub
parent afd2eb1f4a
commit 05e13a68ea
14 changed files with 96 additions and 57 deletions

View File

@@ -27,7 +27,7 @@ export class TagService {
await this.externalHooks.run(`tag.before${action}`, [tag]);
const savedTag = this.tagRepository.save(tag);
const savedTag = this.tagRepository.save(tag, { transaction: false });
await this.externalHooks.run(`tag.after${action}`, [tag]);