Browse Source
Update MongoOrganizationUnitRepository.cs
pull/21807/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoOrganizationUnitRepository.cs
|
|
@ -68,7 +68,7 @@ public class MongoOrganizationUnitRepository |
|
|
bool includeDetails = false, |
|
|
bool includeDetails = false, |
|
|
CancellationToken cancellationToken = default) |
|
|
CancellationToken cancellationToken = default) |
|
|
{ |
|
|
{ |
|
|
return await (await GetMongoQueryableAsync(cancellationToken)) |
|
|
return await (await GetQueryableAsync(cancellationToken)) |
|
|
.Where(x => displayNames.Contains(x.DisplayName)) |
|
|
.Where(x => displayNames.Contains(x.DisplayName)) |
|
|
.ToListAsync(GetCancellationToken(cancellationToken)); |
|
|
.ToListAsync(GetCancellationToken(cancellationToken)); |
|
|
} |
|
|
} |
|
|
|