Удалена ненужная переменная

This commit is contained in:
Pavel Gnedov 2022-10-04 03:14:54 +07:00
parent c8fce4cbda
commit a606ac4fa4

View file

@ -11,7 +11,6 @@ export class TelegramBotService {
private logger = new Logger(TelegramBotService.name); private logger = new Logger(TelegramBotService.name);
private bot: TelegramBot; private bot: TelegramBot;
private telegramBotToken: string; private telegramBotToken: string;
private redmineApiUrlPrefix: string;
private redminePublicUrlPrefix: string; private redminePublicUrlPrefix: string;
private registerRe = /\/register (\d+) (.+)/; private registerRe = /\/register (\d+) (.+)/;
@ -22,8 +21,6 @@ export class TelegramBotService {
private configService: ConfigService, private configService: ConfigService,
) { ) {
this.telegramBotToken = this.configService.get<string>('telegramBotToken'); this.telegramBotToken = this.configService.get<string>('telegramBotToken');
this.redmineApiUrlPrefix =
this.configService.get<string>('redmineUrlPrefix');
this.redminePublicUrlPrefix = this.redminePublicUrlPrefix =
this.configService.get<string>('redmineUrlPublic'); this.configService.get<string>('redmineUrlPublic');
this.initTelegramBot(); this.initTelegramBot();