Update MongoIdentityUserRepository.cs

pull/9523/head
Engincan VESKE 4 years ago
parent 8a0c51aaba
commit 571ccce067

@ -142,11 +142,6 @@ namespace Volo.Abp.Identity.MongoDB
Guid? organizationUnitId = null,
CancellationToken cancellationToken = default)
{
if(roleId.HasValue || organizationUnitId.HasValue)
{
includeDetails = true;
}
return await (await GetMongoQueryableAsync(cancellationToken))
.WhereIf<IdentityUser, IMongoQueryable<IdentityUser>>(
!filter.IsNullOrWhiteSpace(),

Loading…
Cancel
Save