fix: resolve Binance Pay TypeScript strict type error
This commit is contained in:
@@ -11,11 +11,11 @@ export class BinanceProvider {
|
|||||||
constructor(private configService: ConfigService) {}
|
constructor(private configService: ConfigService) {}
|
||||||
|
|
||||||
private get apiKey(): string {
|
private get apiKey(): string {
|
||||||
return this.configService.get<string>('BINANCE_PAY_API_KEY');
|
return this.configService.get<string>('BINANCE_PAY_API_KEY') || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
private get secretKey(): string {
|
private get secretKey(): string {
|
||||||
return this.configService.get<string>('BINANCE_PAY_SECRET_KEY');
|
return this.configService.get<string>('BINANCE_PAY_SECRET_KEY') || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user