mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 18:48:11 +00:00
refactor( iam ): rename AuditLog.userId to iamUserId; drop FaydaVerificationSession.userId
This commit is contained in:
@@ -195,10 +195,10 @@ export class PassengerAuthService {
|
||||
await tx.userPreferences.create({ data: { iamUserId: data.iamUserId } });
|
||||
await tx.auditLog.create({
|
||||
data: {
|
||||
userId: user.id,
|
||||
iamUserId: data.iamUserId,
|
||||
action: data.auditAction,
|
||||
entityType: 'User',
|
||||
entityId: user.id,
|
||||
entityId: data.iamUserId,
|
||||
newData: { email: data.email, iamUserId: data.iamUserId },
|
||||
},
|
||||
});
|
||||
|
||||
@@ -141,7 +141,6 @@ export class VerifaydaService {
|
||||
platform: input.platform ?? 'WEB',
|
||||
saveToAccount: input.saveToAccount ?? false,
|
||||
iamUserId: input.userId ?? null,
|
||||
userId: null,
|
||||
bookingId: input.bookingId ?? null,
|
||||
expiresAt,
|
||||
},
|
||||
@@ -421,7 +420,6 @@ export class VerifaydaService {
|
||||
session: {
|
||||
id: string;
|
||||
iamUserId: string | null;
|
||||
userId: string | null;
|
||||
bookingId: string | null;
|
||||
saveToAccount: boolean;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user