debug(backup-service): log allowed services on init

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-10 16:00:29 -08:00
parent 5ecb13974f
commit b6bc10d680
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ export class ServiceAuthGuard implements CanActivate {
this.secret = this.configService.get<string>('SERVICE_JWT_SECRET') || '';
const allowedServicesStr = this.configService.get<string>('ALLOWED_SERVICES') || 'identity-service,recovery-service';
this.allowedServices = allowedServicesStr.split(',').map(s => s.trim());
this.logger.log(`[INIT] Allowed services: ${this.allowedServices.join(', ')}`);
}
canActivate(context: ExecutionContext): boolean {