diff --git a/Environment/Environment.sln.DotSettings b/Environment/Environment.sln.DotSettings index 86c4878..bb6f1fe 100644 --- a/Environment/Environment.sln.DotSettings +++ b/Environment/Environment.sln.DotSettings @@ -192,4 +192,5 @@ </Entry> </TypePattern> </Patterns> + True True \ No newline at end of file diff --git a/Environment/Service/DeviceCheckService.cs b/Environment/Service/DeviceCheckService.cs index 6088391..3866ddd 100644 --- a/Environment/Service/DeviceCheckService.cs +++ b/Environment/Service/DeviceCheckService.cs @@ -9,7 +9,7 @@ public class DeviceCheckService(Database _database, IConfiguration _configuratio private TimeSpan _warningInterval; private readonly string _botToken = _configuration["Telegram:BotToken"]!; - private readonly string _chatId = _configuration["Telegram:ChatId"]!; + private readonly string _chatId = _configuration["Telegram:PersonalChatId"]!; private readonly RestClient _restClient = new(); public Task StartAsync(CancellationToken cancellationToken)