mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 17:38:12 +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 },
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user