refactor: save current workspace state including FinlyticAnalyzer fixes, FinlyticApp trade route alignment, and DTO audit documentation
This commit is contained in:
@@ -61,8 +61,8 @@ public class N8nService : IN8nService
|
||||
|
||||
if (string.IsNullOrWhiteSpace(targetUrl))
|
||||
{
|
||||
targetUrl = _configuration["N8N__WebhookUrl"]
|
||||
?? _configuration["N8N:WebhookUrl"];
|
||||
targetUrl = _configuration["N8N:ArticleExtractionUrl"]
|
||||
?? _configuration["N8N__ArticleExtractionUrl"];
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(targetUrl))
|
||||
|
||||
@@ -349,8 +349,10 @@ public class NewsDbService : INewsDbService
|
||||
// 2. Date Filter
|
||||
if (date.HasValue)
|
||||
{
|
||||
var targetDate = DateTime.SpecifyKind(date.Value.Date, DateTimeKind.Utc);
|
||||
// Erstelle ein exaktes UTC-Datum von 00:00:00 Uhr am gebuchten Tag
|
||||
var targetDate = new DateTime(date.Value.Year, date.Value.Month, date.Value.Day, 0, 0, 0, DateTimeKind.Utc);
|
||||
var nextDate = targetDate.AddDays(1);
|
||||
|
||||
query = query.Where(a => a.PublishedAt >= targetDate && a.PublishedAt < nextDate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user