Skip to content

Commit 5ff6cad

Browse files
committed
Changing back to deleting the assignment instead of resigning the worker.
1 parent c36b6e2 commit 5ff6cad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Infrastructure/Helpers/BackendConfigurationAssignmentWorkerServiceHelper.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,7 @@ await core.EntityItemUpdate(entityItem.Id, entityItem.Name, entityItem.Descripti
404404

405405
foreach (var assignmentForDelete in assignmentForDeletes)
406406
{
407-
assignmentForDelete.Resigned = true;
408-
assignmentForDelete.ResignedAtDate = DateTime.UtcNow;
409-
await assignmentForDelete.Update(timePlanningDbContext).ConfigureAwait(false);
407+
await assignmentForDelete.Delete(timePlanningDbContext).ConfigureAwait(false);
410408
}
411409
}
412410
else

0 commit comments

Comments
 (0)