Skip to content

Commit

Permalink
fix(codeql): fix codeql finding (#1069)
Browse files Browse the repository at this point in the history
Reviewed-By: Norbert Truchsess <[email protected]>
  • Loading branch information
Phil91 authored Oct 15, 2024
1 parent f5610e9 commit c3cb37d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private async Task ValidateTechnicalUser(Guid? technicalUserId, Guid companyId)
if (!await portalRepositories.GetInstance<ITechnicalUserRepository>()
.CheckActiveServiceAccountExistsForCompanyAsync(technicalUserId.Value, companyId).ConfigureAwait(ConfigureAwaitOptions.None))
{
throw ControllerArgumentException.Create(AdministrationConnectorErrors.CONNECTOR_ARGUMENT_TECH_USER_NOT_ACTIVE, [new("technicalUserId", technicalUserId.Value.ToString()), new("companyId", companyId.ToString())]);
throw ControllerArgumentException.Create(AdministrationConnectorErrors.CONNECTOR_ARGUMENT_TECH_USER_NOT_ACTIVE, [new ErrorParameter("technicalUserId", technicalUserId.Value.ToString()), new ErrorParameter("companyId", companyId.ToString())]);
}
}

Expand Down

0 comments on commit c3cb37d

Please sign in to comment.