diff --git a/backend/src/seeds/creation/index.ts b/backend/src/seeds/creation/index.ts index 8c7b35a45..9c85a7229 100644 --- a/backend/src/seeds/creation/index.ts +++ b/backend/src/seeds/creation/index.ts @@ -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, diff --git a/backend/src/seeds/index.ts b/backend/src/seeds/index.ts index e6bca3078..21539e1ba 100644 --- a/backend/src/seeds/index.ts +++ b/backend/src/seeds/index.ts @@ -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