Pass cancellationToken
This commit is contained in:
parent
98263cca29
commit
a1b9857d94
|
|
@ -411,7 +411,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore
|
|||
join role in Roles on userRole.RoleId equals role.Id
|
||||
where userRole.UserId.Equals(userId)
|
||||
select role.Name;
|
||||
return await query.ToListAsync();
|
||||
return await query.ToListAsync(cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue