await tx
This commit is contained in:
parent
e0d534df47
commit
c3c6a1aa34
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ export default class {
|
||||||
const { app_id: appId, app_user_id: appUserId } = ctx
|
const { app_id: appId, app_user_id: appUserId } = ctx
|
||||||
const app = await this.storage.applicationStorage.GetApplication(appId)
|
const app = await this.storage.applicationStorage.GetApplication(appId)
|
||||||
const appUser = await this.storage.applicationStorage.GetApplicationUser(app, appUserId)
|
const appUser = await this.storage.applicationStorage.GetApplicationUser(app, appUserId)
|
||||||
this.storage.txQueue.PushToQueue({
|
await this.storage.txQueue.PushToQueue({
|
||||||
dbTx: true,
|
dbTx: true,
|
||||||
exec: async tx => {
|
exec: async tx => {
|
||||||
await this.storage.applicationStorage.RemoveApplicationUserAndBaseUser(appUser, tx);
|
await this.storage.applicationStorage.RemoveApplicationUserAndBaseUser(appUser, tx);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue