Update cac-bank.provider.ts

This commit is contained in:
Abubeker Yasin
2026-07-08 23:33:31 +03:00
parent 0f580e40f3
commit d71ee6ed1b

View File

@@ -54,13 +54,7 @@ export class CacBankProvider implements PaymentProvider, OnModuleInit {
CAC_OTP_EXPIRY_MS: this.otpExpiryMs,
};
}
/** Mask a secret to `set(len=N,…abcd)` / `(empty)` so presence & length are visible but not the value. */
private mask(value: string): string {
if (!value) return "(empty)";
const tail = value.length > 4 ? value.slice(-4) : "";
return `set(len=${value.length},…${tail})`;
}
async initiate(
input: ProviderInitiationInput,