diff --git a/backend/api/Services/ActionServices/TaskDurationService.cs b/backend/api/Services/ActionServices/TaskDurationService.cs index 019b126ed..fca6e0afc 100644 --- a/backend/api/Services/ActionServices/TaskDurationService.cs +++ b/backend/api/Services/ActionServices/TaskDurationService.cs @@ -58,7 +58,7 @@ private async Task UpdateAverageDuration(List recentMissionRunsForMo .Select( task => (task.EndTime! - task.StartTime!).Value.TotalSeconds - - task.Inspection?.VideoDuration ?? 0 + - (task.Inspection?.VideoDuration ?? 0) ) ) .ToList();