Skip to content

Commit

Permalink
Rename input to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gitri-ms committed Aug 10, 2023
1 parent cbf915d commit 9527350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapi/Utilities/AskConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ public ContextVariables GetContextVariables(Ask ask)
const string userIdKey = "userId";
const string userNameKey = "userName";
var contextVariables = new ContextVariables(ask.Input);
foreach (var input in ask.Variables)
foreach (var variable in ask.Variables)
{
if (input.Key != userIdKey && input.Key != userNameKey)
if (variable.Key != userIdKey && variable.Key != userNameKey)
{
contextVariables.Set(input.Key, input.Value);
contextVariables.Set(variable.Key, variable.Value);
}
}

Expand Down

0 comments on commit 9527350

Please sign in to comment.