Skip to content

Commit

Permalink
Fix mission task update for custom mission
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Feb 9, 2024
1 parent df2aa13 commit 2d7ceff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/api/Services/CustomMissionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public async Task<string> UploadSource(List<MissionTask> tasks)
foreach (var task in content)
{
task.Id = Guid.NewGuid().ToString(); // This is needed as tasks are owned by mission runs
task.IsarTaskId = Guid.NewGuid().ToString(); // This is needed to update the tasks for the correct mission run
}
}
catch (Exception)
Expand Down

0 comments on commit 2d7ceff

Please sign in to comment.