From 9743e3e6c8c5aaaecdba5c11ffbc68b25e78b518 Mon Sep 17 00:00:00 2001 From: Sara Fatih Date: Mon, 28 Aug 2023 10:13:37 +0200 Subject: [PATCH] took off console logs --- .../modifiers/handlebar_template/handlebar_template_chat.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/@pufflig/ps-nodes/src/modifiers/handlebar_template/handlebar_template_chat.ts b/packages/@pufflig/ps-nodes/src/modifiers/handlebar_template/handlebar_template_chat.ts index 2daa0cb..c59be74 100644 --- a/packages/@pufflig/ps-nodes/src/modifiers/handlebar_template/handlebar_template_chat.ts +++ b/packages/@pufflig/ps-nodes/src/modifiers/handlebar_template/handlebar_template_chat.ts @@ -53,12 +53,10 @@ export const parseInput = async ( } const extractedVariableArrays = chat.messages.map((message) => { var messageVars = extractVariables(message.content) - console.log("messageVars:", messageVars) return messageVars }) const extractedVariables = _.flatten(extractedVariableArrays) - console.log("extractedVariables:", extractedVariables) const uniqueVariables = extractedVariables.reduce((uniqueArr: (NumberParam | TextParam | null)[], currentVariable: NumberParam | TextParam | null) => { const existingVariable = uniqueArr.find(variable => variable?.id === currentVariable?.id); @@ -68,7 +66,6 @@ export const parseInput = async ( return uniqueArr; }, []); - console.log("uniquevariables: ", uniqueVariables) if (uniqueVariables) { // extracted variables that already existed in the previous input are assigned the previous value