first commit

This commit is contained in:
Michael Wain 2024-02-11 15:32:04 +03:00
parent 400eb896b1
commit 477a9bba52

View File

@ -8,7 +8,7 @@ import org.springframework.context.annotation.PropertySource;
@Data
@Configuration
@PropertySource("file:./telegram.properties") // classpath:/telegram.properties
@PropertySource("file:./telegram.properties")
public class TelegramConfig {
@Value("${bot.botToken}") private String botToken;
@Value("${bot.botLogin}") private String botLogin;