File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/main/java/dev/vality/alerting/tg/bot/config Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1010 <version >3.0.9</version >
1111 </parent >
1212
13+ <name >alerting-tg-bot</name >
1314 <artifactId >alerting-tg-bot</artifactId >
1415 <version >1.0.0</version >
1516
Original file line number Diff line number Diff line change 1010import org .telegram .telegrambots .meta .generics .TelegramClient ;
1111
1212@ Configuration
13- @ EnableConfigurationProperties (AlertBotProperties .class )
13+ // @EnableConfigurationProperties(AlertBotProperties.class)
1414@ RequiredArgsConstructor
1515public class AlertBotConfig {
1616
17- private final AlertBot alertBot ;
18-
1917 @ Bean
2018 public TelegramClient telegramClient (AlertBotProperties properties ) {
2119 return new OkHttpTelegramClient (properties .getToken ());
You can’t perform that action at this time.
0 commit comments