From 296e710573974f8e2d35b5f7415a7e88cb27f1f2 Mon Sep 17 00:00:00 2001 From: Milan Nakum Date: Mon, 24 Feb 2025 15:50:07 +0530 Subject: [PATCH] RelayBot: Fix persist tokenEndpoint query params --- RelayBotSample/BotConnector/BotService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RelayBotSample/BotConnector/BotService.cs b/RelayBotSample/BotConnector/BotService.cs index 4a239143..4a4f9349 100644 --- a/RelayBotSample/BotConnector/BotService.cs +++ b/RelayBotSample/BotConnector/BotService.cs @@ -39,7 +39,7 @@ public async Task GetTokenAsync() { httpRequest.Method = HttpMethod.Get; UriBuilder uriBuilder = new UriBuilder(TokenEndPoint); - uriBuilder.Query = $"botId={BotId}&tenantId={TenantId}"; + uriBuilder.Query += $"&botId={BotId}&tenantId={TenantId}"; httpRequest.RequestUri = uriBuilder.Uri; using (var response = await s_httpClient.SendAsync(httpRequest)) {