Skip to content

Commit a5b5530

Browse files
CopilotJackTelford
andcommitted
Fix foreach variable naming in TextbotsApi for better clarity
Co-authored-by: JackTelford <142545189+JackTelford@users.noreply.github.com>
1 parent 41c4fa0 commit a5b5530

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/PureCloud.Client/Apis/TextbotsApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public async Task<BotSearchResponseEntityListing> GetTextbotsBotsSearchAsync(IEn
2727

2828
if (botType != null)
2929
{
30-
foreach (var type in botType)
30+
foreach (var botTypeItem in botType)
3131
{
32-
parameters.Add("botType", UriHelper.ParameterToString(type));
32+
parameters.Add("botType", UriHelper.ParameterToString(botTypeItem));
3333
}
3434
}
3535

@@ -40,9 +40,9 @@ public async Task<BotSearchResponseEntityListing> GetTextbotsBotsSearchAsync(IEn
4040

4141
if (botId != null)
4242
{
43-
foreach (var id in botId)
43+
foreach (var botIdItem in botId)
4444
{
45-
parameters.Add("botId", UriHelper.ParameterToString(id));
45+
parameters.Add("botId", UriHelper.ParameterToString(botIdItem));
4646
}
4747
}
4848

0 commit comments

Comments
 (0)