Skip to content

Commit 57b5255

Browse files
committed
test #175, add a namespaced function call to validate the built-in functions are available
1 parent f0ec3e4 commit 57b5255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/scripts/helloWorld.sjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
function getMethod(context, params) {
33
//context.outputTypes = ["application/json"];
44
//return { "response": "This is a JSON document" }
5-
return "hello " + params["planet"];
5+
return fn.normalizeSpace(" hello " + params["planet"]);
66
};
77

88
function postMethod(context, params, input) {

0 commit comments

Comments
 (0)