Skip to content

Commit da51208

Browse files
committed
Bump version of tg libs
1 parent fe0bc3f commit da51208

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
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

src/main/java/dev/vality/alerting/tg/bot/config/AlertBotConfig.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
import org.telegram.telegrambots.meta.generics.TelegramClient;
1111

1212
@Configuration
13-
@EnableConfigurationProperties(AlertBotProperties.class)
13+
//@EnableConfigurationProperties(AlertBotProperties.class)
1414
@RequiredArgsConstructor
1515
public class AlertBotConfig {
1616

17-
private final AlertBot alertBot;
18-
1917
@Bean
2018
public TelegramClient telegramClient(AlertBotProperties properties) {
2119
return new OkHttpTelegramClient(properties.getToken());

0 commit comments

Comments
 (0)