diff --git a/routes/deploypair.js b/routes/deploypair.js index 8f026297..abc6fd8a 100644 --- a/routes/deploypair.js +++ b/routes/deploypair.js @@ -5,6 +5,8 @@ var pair = require("../JsClients/PAIR/test/install.ts"); var pairsagainstuser = require("../models/pairsagainstuser"); var pairagainstuser = require("../models/pairagainstuser"); var pairsModel = require("../models/pair"); +var pair = require("../JsClients/PAIR/test/installed.ts"); +const { reset } = require("nodemon"); router.route("/makedeploypaircontract").post(async function (req, res, next) { try { @@ -147,17 +149,30 @@ router.route("/getpairagainstuser").post(async function (req, res, next) { message: "This user has not added liquidity against any pair.", }); } else { - let pairsdata=[]; - for(var i=0;i