diff --git a/apps/edr-passenger-api/prisma/seed.ts b/apps/edr-passenger-api/prisma/seed.ts index 99db0202b..2d1cca828 100644 --- a/apps/edr-passenger-api/prisma/seed.ts +++ b/apps/edr-passenger-api/prisma/seed.ts @@ -266,7 +266,7 @@ async function seedTrips() { const route = await prisma.route.findUnique({ where: { code: 'EDR-101' } }); const firstStation = await prisma.station.findUnique({ where: { code: 'SBT' } }); - const lastStation = await prisma.station.findUnique({ where: { code: 'DIR' } }); + const lastStation = await prisma.station.findUnique({ where: { code: 'DRE' } }); const coaches = await prisma.coach.findMany(); const now = new Date(); @@ -324,7 +324,7 @@ async function seedTrips() { async function seedFareRules() { console.log('\n💰 Seeding fare rules...'); - const route = await prisma.route.findUnique({ where: { code: 'EDR-MAIN' } }); + const route = await prisma.route.findUnique({ where: { code: 'EDR-101' } }); const seatClasses = await prisma.seatClass.findMany(); const validFrom = new Date('2024-01-01');