Skip to content

Commit

Permalink
Fixing broken tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
renemadsen committed Nov 17, 2023
1 parent f528539 commit fc1391d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public static async Task<OperationDataResult<List<TaskTrackerModel>>> Index(
AreaRuleId = areaRulePlanning!.AreaRuleId,
AreaRulePlanId = areaRulePlanning.Id,
Weeks = weeksThisCompliance,
SdkFolderName = folderTranslations.First(x => x.FolderId == planning.SdkFolderId).Name,
SdkFolderName = folderTranslations.FirstOrDefault(x => x.FolderId == planning.SdkFolderId)?.Name,
};

if (complianceModel.SdkCaseId == 0 && complianceModel.DeadlineTask < dateTimeNow)
Expand Down

0 comments on commit fc1391d

Please sign in to comment.