X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fquerycode%2Fquerycode.js;h=c655529a854e2155015a11ffa272e4b16ff6c93d;hb=9e6b289bad3042093d0414ed90a336aaa5bfa09a;hp=6dc00c4c898ae8685e36b7327ee14b07c8f9b7b6;hpb=401546ae932e7f2d120ec210c13e2db1ce754cc7;p=myslice.git diff --git a/plugins/querycode/querycode.js b/plugins/querycode/querycode.js index 6dc00c4c..c655529a 100644 --- a/plugins/querycode/querycode.js +++ b/plugins/querycode/querycode.js @@ -119,7 +119,7 @@ }); ofs = '[' + ofs + ']'; - output += 'pp srv.call("' + mixed_case(query.action) +'", auth, "' + query.subject + '", "' + query.timestamp + '", ' + ifs + ', ' + ofs + ')'; + output += 'pp srv.call("' + mixed_case(query.action) +'", auth, "' + query.object + '", "' + query.timestamp + '", ' + ifs + ', ' + ofs + ')'; var output = '
' + output + "
"; return output; @@ -152,7 +152,7 @@ }); ofs = '[' + ofs + ']'; - output += 'srv.' + mixed_case(query.action) + '(auth, "' + query.subject + '", ' + ifs + ', {}, ' + ofs + ')'; + output += 'srv.' + mixed_case(query.action) + '(auth, "' + query.object + '", ' + ifs + ', {}, ' + ofs + ')'; var output = '
' + output + "
"; return output; }