Skip to content

Commit

Permalink
Fix estimated duration always being null
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddasol committed Nov 28, 2024
1 parent 7ad7ed5 commit b128a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/Services/ActionServices/TaskDurationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private async Task UpdateAverageDuration(List<MissionRun> recentMissionRunsForMo
.Select(
task =>
(task.EndTime! - task.StartTime!).Value.TotalSeconds
- task.Inspection?.VideoDuration ?? 0
- (task.Inspection?.VideoDuration ?? 0)
)
)
.ToList();
Expand Down

0 comments on commit b128a29

Please sign in to comment.