Browse Source

Update MongoOrganizationUnitRepository.cs

pull/21807/head
maliming 1 year ago
parent
commit
e2390f1460
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoOrganizationUnitRepository.cs

2
modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoOrganizationUnitRepository.cs

@ -68,7 +68,7 @@ public class MongoOrganizationUnitRepository
bool includeDetails = false,
CancellationToken cancellationToken = default)
{
return await (await GetMongoQueryableAsync(cancellationToken))
return await (await GetQueryableAsync(cancellationToken))
.Where(x => displayNames.Contains(x.DisplayName))
.ToListAsync(GetCancellationToken(cancellationToken));
}

Loading…
Cancel
Save