File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export default class TelegramNotifier implements INotifier {
7272 private get client ( ) : AxiosInstance {
7373 if ( ! this . #client) {
7474 this . #client = axios . create ( {
75- baseURL : `https://api.telegram.org/bot${ this . config . telegramBotToken ! } /sendMessage` ,
75+ baseURL : `https://api.telegram.org/bot${ this . config . telegramBotToken ?. value } /sendMessage` ,
7676 headers : {
7777 "Content-Type" : "application/json" ,
7878 } ,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default class OneInch extends BaseSwapper implements ISwapper {
3838 this . apiClient = axios . create ( {
3939 baseURL,
4040 headers : {
41- Authorization : `Bearer ${ this . config . oneInchApiKey } ` ,
41+ Authorization : `Bearer ${ this . config . oneInchApiKey . value } ` ,
4242 accept : "application/json" ,
4343 } ,
4444 } ) ;
You can’t perform that action at this time.
0 commit comments