Skip to content

Commit

Permalink
Clear employer rejected reason when provider re(submits)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJWoodcock committed Sep 9, 2021
1 parent 103fb5e commit 68734d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public async Task<OrchestratorResponse<SubmitVacancyResponse>> SubmitVacancyAsyn
throw new InvalidStateException(string.Format(ErrMsg.VacancyNotAvailableForEditing, vacancy.Title));

vacancy.EmployerName = await _vacancyClient.GetEmployerNameAsync(vacancy);

vacancy.EmployerRejectedReason = null;

return await ValidateAndExecute(
vacancy,
v => ValidateVacancy(v, SubmitValidationRules),
Expand Down

0 comments on commit 68734d3

Please sign in to comment.