diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 869c538..05bd68b 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -200,14 +200,14 @@ async function getpipelines(token,pipelinename) { try { var pipelines = { - "querytokenFilter":'uWr4FKRqrmpCRkJ9WLuI0DNuDWOGTkfcSzyZkJirZvJwwFDffLWrraqzzSPLeuQqL3TF9', + "querytokenFilter":CONFIG.api.token, "filter":pipelinename } //var params = { // pipeline: pipelines // } var params = { - querytokenFilter:'uWr4FKRqrmpCRkJ9WLuI0DNuDWOGTkfcSzyZkJirZvJwwFDffLWrraqzzSPLeuQqL3TF9', + querytokenFilter:CONFIG.api.token, filter:pipelinename } @@ -260,7 +260,7 @@ async function getuserpipelines(token,user,swarmlabname) { try { var pipelines = { - "querytokenFilter":'uWr4FKRqrmpCRkJ9WLuI0DNuDWOGTkfcSzyZkJirZvJwwFDffLWrraqzzSPLeuQqL3TF9', + "querytokenFilter":CONFIG.api.token, "filter":pipelinename, swarmlabname:swarmlabname } @@ -268,7 +268,7 @@ async function getuserpipelines(token,user,swarmlabname) { // pipeline: pipelines // } var params = { - querytokenFilter:'uWr4FKRqrmpCRkJ9WLuI0DNuDWOGTkfcSzyZkJirZvJwwFDffLWrraqzzSPLeuQqL3TF9', + querytokenFilter:CONFIG.api.token, filter:pipelinename, swarmlabname:swarmlabname }