From 077321a7558cb832454c8650815778e47db36fc1 Mon Sep 17 00:00:00 2001 From: aditya Date: Fri, 16 Aug 2024 10:47:20 -0400 Subject: [PATCH] fix: ensure reporting period is able to be created correctly (#382) --- scripts/seed.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/seed.ts b/scripts/seed.ts index a3c8f7d4..7d07d720 100644 --- a/scripts/seed.ts +++ b/scripts/seed.ts @@ -100,7 +100,6 @@ export default async () => { endDate: new Date(), inputTemplateId: lastInputTemplateId, outputTemplateId: lastOutputTemplateId, - organizationId: organizationRecord.id, } const reportingPeriod = await db.reportingPeriod.create({ data: reportingPeriodData, @@ -113,7 +112,7 @@ export default async () => { preferences: { current_reporting_period_id: reportingPeriod.id, }, - } + }, }) const expendtitureCategoriesData = [