X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fquerycode%2Fquerycode.js;h=3574b30e9a7bb8672ccb763118e5c6bf94bf9fe0;hb=20835fc7deb0d149293351f032af6e5d9e4a1952;hp=eab1238e0162fcb4b4d9a0d20d37e62476814e75;hpb=c99b0dcada4a985aefa4141c29208456adf602f2;p=myslice.git diff --git a/plugins/querycode/querycode.js b/plugins/querycode/querycode.js index eab1238e..3574b30e 100644 --- a/plugins/querycode/querycode.js +++ b/plugins/querycode/querycode.js @@ -126,7 +126,7 @@ }); ofs = '[' + ofs + ']'; - output += 'pp srv.call("' + mixed_case(query.action) +'", auth, "' + query.method + '", "' + query.timestamp + '", ' + ifs + ', ' + ofs + ')'; + output += 'pp srv.call("' + mixed_case(query.action) +'", auth, "' + query.subject + '", "' + query.timestamp + '", ' + ifs + ', ' + ofs + ')'; var output = '
' + output + "
"; return output; @@ -159,7 +159,7 @@ }); ofs = '[' + ofs + ']'; - output += 'srv.' + mixed_case(query.action) + '(auth, "' + query.method + '", ' + ifs + ', {}, ' + ofs + ')'; + output += 'srv.' + mixed_case(query.action) + '(auth, "' + query.subject + '", ' + ifs + ', {}, ' + ofs + ')'; var output = '
' + output + "
"; return output; }