From 2124b884421db35cbc1b502a5901e202b835b287 Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Tue, 24 Aug 2021 14:51:33 +0300 Subject: [PATCH] JS Backend: add the missing single quote (') (#252) --- backend/js/src/main/scala/aqua/backend/js/JavaScriptFunc.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/js/src/main/scala/aqua/backend/js/JavaScriptFunc.scala b/backend/js/src/main/scala/aqua/backend/js/JavaScriptFunc.scala index d282cf72..25140b3c 100644 --- a/backend/js/src/main/scala/aqua/backend/js/JavaScriptFunc.scala +++ b/backend/js/src/main/scala/aqua/backend/js/JavaScriptFunc.scala @@ -55,7 +55,7 @@ case class JavaScriptFunc(func: FuncRes) { case Arg(argName, OptionType(_)) => s"""h.on('$dataServiceId', '$argName', () => {return $argName === null ? [] : [$argName];});""" case Arg(argName, _: DataType) => - s"""h.on('$dataServiceId, '$argName', () => {return $argName;});""" + s"""h.on('$dataServiceId', '$argName', () => {return $argName;});""" case Arg(argName, at: ArrowType) => val value = s"$argName(${argsCallToJs( at