From 0bb609d5a26c36050875475b853d8c95df271eee Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Wed, 15 Jul 2026 15:51:55 +0300 Subject: [PATCH] fix: resolve Binance Pay TypeScript strict type error --- apps/api/src/billing/providers/binance.provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/billing/providers/binance.provider.ts b/apps/api/src/billing/providers/binance.provider.ts index e1a3fe5..a262fc0 100644 --- a/apps/api/src/billing/providers/binance.provider.ts +++ b/apps/api/src/billing/providers/binance.provider.ts @@ -11,11 +11,11 @@ export class BinanceProvider { constructor(private configService: ConfigService) {} private get apiKey(): string { - return this.configService.get('BINANCE_PAY_API_KEY'); + return this.configService.get('BINANCE_PAY_API_KEY') || ''; } private get secretKey(): string { - return this.configService.get('BINANCE_PAY_SECRET_KEY'); + return this.configService.get('BINANCE_PAY_SECRET_KEY') || ''; } /**