Commit 976d613f authored by Krit Punpreuk's avatar Krit Punpreuk

Update perform.js

parent af351bc4
...@@ -56,7 +56,7 @@ function perform_function(context,request,response){ ...@@ -56,7 +56,7 @@ function perform_function(context,request,response){
// Setup Body if POST or PUT // Setup Body if POST or PUT
if(method == 'POST' || method == 'PUT') { if(method == 'POST' || method == 'PUT') {
//if(typeof param.body == 'object') { //if(typeof param.body == 'object') {
option.body = body option.body = JSON.parse(body)
//} //}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment