mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change by Alex and Moriz review suggestions
This commit is contained in:
parent
6b9fbc920e
commit
095214c282
@ -112,13 +112,11 @@ const bobsSendings = [
|
||||
},
|
||||
{
|
||||
amount: 5.8,
|
||||
memo: 'von Frau Rottenmeier',
|
||||
memo: 'von Fräulein Rottenmeier',
|
||||
},
|
||||
]
|
||||
let bobsSum = 0
|
||||
const bobsTransactions: CreationInterface[] = []
|
||||
bobsSendings.forEach((sending) => {
|
||||
bobsSum = bobsSum + sending.amount
|
||||
bobsTransactions.push({
|
||||
email: 'bob@baumeister.de',
|
||||
amount: sending.amount,
|
||||
|
||||
@ -66,10 +66,10 @@ const run = async () => {
|
||||
|
||||
// create GDD
|
||||
for (let i = 0; i < creations.length; i++) {
|
||||
const now = new Date().getTime() // we have to wait a little! quick fix for account sum problem of bob@baumeister.de
|
||||
const now = new Date().getTime() // we have to wait a little! quick fix for account sum problem of bob@baumeister.de, (see https://github.com/gradido/gradido/issues/1886)
|
||||
await creationFactory(seedClient, creations[i])
|
||||
// eslint-disable-next-line no-empty
|
||||
while (new Date().getTime() < now + 1000) {} // we have to wait a little! quick fix for account sum problem of bob@baumeister.de
|
||||
while (new Date().getTime() < now + 1000) {} // we have to wait a little! quick fix for account sum problem of bob@baumeister.de, (see https://github.com/gradido/gradido/issues/1886)
|
||||
}
|
||||
|
||||
// create Transaction Links
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user