Skip to content

Commit

Permalink
Merge pull request #603 from DFE-Digital/feature/add-trust-reference-…
Browse files Browse the repository at this point in the history
…number-to-transfer-project

generate TRN await fix
  • Loading branch information
paullocknimble authored Nov 1, 2024
2 parents d1c7428 + 2ed0a37 commit c05820d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public async Task<CommandResult> Handle(CreateFormAMatProjectsCommand request,
{
// create formAMat
formAMat = FormAMatProject.Create(conversionProject.Details.NameOfTrust, conversionProject.Details.ApplicationReferenceNumber, _dateTimeProvider.Now);
_formAMatProjectRepository.CreateFormAMatProjectWithTrustReferenceNumber(formAMat);
await _formAMatProjectRepository.CreateFormAMatProjectWithTrustReferenceNumber(formAMat);
await _formAMatProjectRepository.UnitOfWork.SaveChangesAsync(cancellationToken);
}

Expand Down

0 comments on commit c05820d

Please sign in to comment.