mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 09:28:19 +00:00
refactor( iam ): migrate guest booking to IAM; make Passenger.userId nullable
This commit is contained in:
@@ -507,9 +507,8 @@ export class VerifaydaService {
|
||||
): Promise<VerifaydaVerificationResult> {
|
||||
this.logger.log(`verifyNationalId called: stubEnabled=${this.stubEnabled}, type=${typeof this.stubEnabled}`);
|
||||
|
||||
if (this.stubEnabled != false || this.stubEnabled) {
|
||||
this.logger.warn('Verifayda stub is disabled - returning mock data (development mode)');
|
||||
// In development mode, return mock verified data
|
||||
if (!this.stubEnabled) {
|
||||
this.logger.warn('Verifayda not configured — returning mock data (development mode)');
|
||||
return {
|
||||
verified: true,
|
||||
passengerData: {
|
||||
|
||||
Reference in New Issue
Block a user