mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
throw when creation cannot be confirmed
This commit is contained in:
parent
48ecc5909b
commit
201e952c08
@ -361,7 +361,10 @@ export class AdminResolver {
|
|||||||
transaction.balanceDate = receivedCallDate
|
transaction.balanceDate = receivedCallDate
|
||||||
transaction.decay = decay ? decay.decay : new Decimal(0)
|
transaction.decay = decay ? decay.decay : new Decimal(0)
|
||||||
transaction.decayStart = decay ? decay.start : null
|
transaction.decayStart = decay ? decay.start : null
|
||||||
await transaction.save()
|
await transaction.save().catch(() => {
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log('Unable to save transaction.')
|
||||||
|
})
|
||||||
|
|
||||||
await AdminPendingCreation.delete(pendingCreation)
|
await AdminPendingCreation.delete(pendingCreation)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user