first commit

This commit is contained in:
Michael Wain 2024-02-11 15:37:12 +03:00
parent 477a9bba52
commit 14ed47583c

View File

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