mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update backend/src/graphql/resolver/UserResolver.ts
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
parent
d73728bf86
commit
348075ab38
@ -404,11 +404,6 @@ export class UserResolver {
|
||||
await queryRunner.commitTransaction()
|
||||
} catch (e) {
|
||||
await queryRunner.rollbackTransaction()
|
||||
// TODO: Lets not do this?! What if state_users were never updated?
|
||||
// We would still roll back the autoincrement which would produce duplicate entries?!
|
||||
// await rollbackAutoIncrement(queryRunner, LoginUser, `login_users`)
|
||||
// await rollbackAutoIncrement(queryRunner, LoginUserBackup, `login_user_backups`)
|
||||
// await rollbackAutoIncrement(queryRunner, DbUser, `state_users`)
|
||||
throw e
|
||||
} finally {
|
||||
await queryRunner.release()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user