Skip to content

Commit

Permalink
fixed file without a task
Browse files Browse the repository at this point in the history
  • Loading branch information
ytqsl committed Jul 23, 2024
1 parent 01cb803 commit c6bf8bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public async Task<string> Update(EssContext essContext, EvacuationFile evacuatio

AddNeedsAssessment(essContext, file, file.era_CurrentNeedsAssessmentid);

AssignToTask(essContext, file, evacuationFile.TaskId ?? currentFile.era_TaskId.era_name);
AssignToTask(essContext, file, evacuationFile.TaskId ?? currentFile.era_TaskId?.era_name);

await essContext.SaveChangesAsync(ct);

Expand Down

0 comments on commit c6bf8bc

Please sign in to comment.