mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
IAM, package, luggage, app health, rate limit, and more
This commit is contained in:
@@ -59,9 +59,9 @@ async function seedSystemUsers() {
|
||||
});
|
||||
}
|
||||
await prisma.userPreferences.upsert({
|
||||
where: { userId: passenger.id },
|
||||
where: { iamUserId: passenger.id },
|
||||
update: {},
|
||||
create: { userId: passenger.id, language: 'en' },
|
||||
create: { iamUserId: passenger.id, language: 'en' },
|
||||
});
|
||||
console.log(' ✅ Passenger: kelemu@email.com / password123');
|
||||
|
||||
@@ -79,9 +79,9 @@ async function seedSystemUsers() {
|
||||
},
|
||||
});
|
||||
await prisma.agent.upsert({
|
||||
where: { userId: agent.id },
|
||||
where: { agentCode: 'AG0001' },
|
||||
update: {},
|
||||
create: { userId: agent.id, agentCode: 'AG0001', commissionRate: 5 },
|
||||
create: { agentCode: 'AG0001', commissionRate: 5 },
|
||||
});
|
||||
console.log(' ✅ Agent: agent@edr-platform.com / agent123');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user