Поменял дату
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 19s

This commit is contained in:
Dmitrii Prokudin 2024-12-26 23:51:50 +03:00
parent 6a68b118a7
commit ea3237ebcc

View File

@ -77,7 +77,8 @@ public class BotService
{ {
try try
{ {
var today = DateTime.Today; var today = message.Date.Date;
Console.WriteLine(message.Date);
var chatId = message.Chat.Id; var chatId = message.Chat.Id;
if (await _userOfTheDayRepository.IsUserOfTheDaySelectedAsync(chatId, today, type)) if (await _userOfTheDayRepository.IsUserOfTheDaySelectedAsync(chatId, today, type))