mirror of
https://codeberg.org/MarkusThielker/finances.git
synced 2025-04-12 05:08:43 +00:00
N-FIN-15: fix sample data generation
This commit is contained in:
parent
161612aa90
commit
73c80326c2
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ export default async function generateSampleData(): Promise<ActionResponse> {
|
||||||
amount: Math.floor(
|
amount: Math.floor(
|
||||||
Math.random() * (maxAmount - minAmount) + minAmount),
|
Math.random() * (maxAmount - minAmount) + minAmount),
|
||||||
date: date,
|
date: date,
|
||||||
payorId: 1,
|
payorId: entities[0].id,
|
||||||
payeeId: Math.floor(
|
payeeId: Math.floor(
|
||||||
Math.random() * (maxPayee - minPayee) + minPayee),
|
Math.random() * (maxPayee - minPayee) + minPayee),
|
||||||
categoryId: Math.floor(
|
categoryId: Math.floor(
|
||||||
|
|
Loading…
Add table
Reference in a new issue