mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Update cac-bank.provider.ts
This commit is contained in:
@@ -54,13 +54,7 @@ export class CacBankProvider implements PaymentProvider, OnModuleInit {
|
|||||||
CAC_OTP_EXPIRY_MS: this.otpExpiryMs,
|
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(
|
async initiate(
|
||||||
input: ProviderInitiationInput,
|
input: ProviderInitiationInput,
|
||||||
|
|||||||
Reference in New Issue
Block a user