- await sequelizeTypescript.transaction(async t => {
- const userAccount = await AccountModel.load(user.Account.id)
+ if (body.displayName !== undefined || body.description !== undefined) {
+ await sequelizeTypescript.transaction(async t => {
+ const userAccount = await AccountModel.load(user.Account.id, t)