Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Sep 20, 2024
1 parent ced1c44 commit d665d0c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public class IdentityProviderProvisioningProcessTypeExecutor(

public async ValueTask<IProcessTypeExecutor.InitializationResult> InitializeProcess(Guid processId, IEnumerable<ProcessStepTypeId> processStepTypeIds)
{
var idpData = await portalRepositories.GetInstance<IIdentityProviderRepository>().GetIdentityProviderDataForProcessIdAsync(processId).ConfigureAwait(ConfigureAwaitOptions.None);
_idpData = await portalRepositories.GetInstance<IIdentityProviderRepository>().GetIdentityProviderDataForProcessIdAsync(processId).ConfigureAwait(ConfigureAwaitOptions.None)
?? throw new ConflictException($"process {processId} does not exist or is not associated with an Identity Provider");

_idpData = idpData ?? throw new ConflictException($"process {processId} does not exist or is not associated with an Identity Provider");
return new IProcessTypeExecutor.InitializationResult(false, null);
}

Expand Down

0 comments on commit d665d0c

Please sign in to comment.