revert
This commit is contained in:
parent
2e45a66edc
commit
13ed40b3cc
|
|
@ -86,7 +86,7 @@ public class RoutingContext : IRoutingContext
|
||||||
if (!Guid.TryParse(agentId, out _))
|
if (!Guid.TryParse(agentId, out _))
|
||||||
{
|
{
|
||||||
var agentService = _services.GetRequiredService<IAgentService>();
|
var agentService = _services.GetRequiredService<IAgentService>();
|
||||||
var agents = agentService.GetAgentOptions([agentId]).Result;
|
var agents = agentService.GetAgentOptions([agentId], byName: true).Result;
|
||||||
|
|
||||||
if (agents.Count > 0)
|
if (agents.Count > 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue