From 95273502dd4f9812dfe497282c3b8fae7cf631a5 Mon Sep 17 00:00:00 2001 From: Gina Triolo <51341242+gitri-ms@users.noreply.github.com> Date: Wed, 9 Aug 2023 17:34:00 -0700 Subject: [PATCH] Rename input to variable --- webapi/Utilities/AskConverter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapi/Utilities/AskConverter.cs b/webapi/Utilities/AskConverter.cs index fb84a3987..ad911b8f3 100644 --- a/webapi/Utilities/AskConverter.cs +++ b/webapi/Utilities/AskConverter.cs @@ -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); } }