april fix

This commit is contained in:
Michał Zieliński
2024-04-03 22:17:21 +02:00
parent 7b54444294
commit 20d6e7d3f8

View File

@@ -157,7 +157,7 @@ namespace WebAPI.dataProcessors
Record? januaryRecord = january!.Records?.SingleOrDefault(x => x.Code == code);
Record? februaryRecord = february!.Records?.SingleOrDefault(x => x.Code == code);
Record? marchRecord = march!.Records?.SingleOrDefault(x => x.Code == code);
Record? aprilRecord = march!.Records?.SingleOrDefault(x => x.Code == code);
Record? aprilRecord = april!.Records?.SingleOrDefault(x => x.Code == code);
Record? sumRecord = sum!.Records?.SingleOrDefault(x => x.Code == code);
if (januaryRecord != null)
{