refactor( iam ): migrate guest booking to IAM; make Passenger.userId nullable

This commit is contained in:
Abubeker Yasin
2026-06-08 15:27:32 +03:00
parent ac153fb0d0
commit c1dcfb04c3
11 changed files with 99 additions and 357 deletions

View File

@@ -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: {