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(
|
||||
Math.random() * (maxAmount - minAmount) + minAmount),
|
||||
date: date,
|
||||
payorId: 1,
|
||||
payorId: entities[0].id,
|
||||
payeeId: Math.floor(
|
||||
Math.random() * (maxPayee - minPayee) + minPayee),
|
||||
categoryId: Math.floor(
|
||||
|
|
Loading…
Add table
Reference in a new issue