From d2f983d970e027f709d3cec7d9c4e3c00b23f9a4 Mon Sep 17 00:00:00 2001 From: EvanFeenstra1 Date: Tue, 25 Jan 2022 18:14:46 -0800 Subject: [PATCH] liquid host --- dist/src/controllers/api/personal.js | 4 ++-- dist/src/controllers/api/personal.js.map | 2 +- src/controllers/api/personal.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/src/controllers/api/personal.js b/dist/src/controllers/api/personal.js index feede5f47..660e570a7 100644 --- a/dist/src/controllers/api/personal.js +++ b/dist/src/controllers/api/personal.js @@ -152,9 +152,9 @@ function claimOnLiquid(req, res) { const owner = yield models_1.models.Contact.findOne({ where: { tenant, isOwner: true }, }); - const { host, asset, to, amount, memo } = req.body; + const { asset, to, amount, memo } = req.body; const res = yield people.claimOnLiquid({ - host: host || 'liquid.sphinx.chat', + host: 'liquid.sphinx.chat', asset, to, amount, diff --git a/dist/src/controllers/api/personal.js.map b/dist/src/controllers/api/personal.js.map index 9c50e55d9..3c865b597 100644 --- a/dist/src/controllers/api/personal.js.map +++ b/dist/src/controllers/api/personal.js.map @@ -1 +1 @@ -{"version":3,"file":"personal.js","sourceRoot":"","sources":["../../../../src/controllers/api/personal.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAwC;AACxC,sCAAqC;AACrC,2CAA8B;AAC9B,6CAA4C;AAC5C,yCAAqC;AACrC,8CAA6C;AAC7C,yCAAkD;AAClD,+CAA+C;AAC/C,yCAAmD;AAEnD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,2CAA2C;AAC3C,uDAAuD;AACvD,SAAsB,mBAAmB,CAAC,GAAG,EAAE,GAAG;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QAEnC,MAAM,WAAW,GAAG,GAAG,CAA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,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;YAElD,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC;gBACrC,IAAI,EAAE,IAAI,IAAI,oBAAoB;gBAClC,KAAK;gBACL,EAAE;gBACF,MAAM;gBACN,IAAI;gBACJ,YAAY,EAAE,KAAK,CAAC,SAAS;aAC9B,CAAC,CAAA;YAEF,IAAA,aAAO,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;SAClB;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAvBD,sCAuBC"} \ No newline at end of file +{"version":3,"file":"personal.js","sourceRoot":"","sources":["../../../../src/controllers/api/personal.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAwC;AACxC,sCAAqC;AACrC,2CAA8B;AAC9B,6CAA4C;AAC5C,yCAAqC;AACrC,8CAA6C;AAC7C,yCAAkD;AAClD,+CAA+C;AAC/C,yCAAmD;AAEnD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,2CAA2C;AAC3C,uDAAuD;AACvD,SAAsB,mBAAmB,CAAC,GAAG,EAAE,GAAG;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QAEnC,MAAM,WAAW,GAAG,GAAG,CAAC,IAAI,CAAC,aAAa,IAAI,CAAC,CAAA;QAE/C,IAAI;YACF,MAAM,KAAK,GAAG,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;gBACzC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;aACjC,CAAC,CAAA;YACF,MAAM,EACJ,EAAE,EACF,IAAI;YACJ,UAAU;Y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F,IAAA,aAAO,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;SAClB;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAvBD,sCAuBC"} \ No newline at end of file diff --git a/src/controllers/api/personal.ts b/src/controllers/api/personal.ts index 32df2f049..4b32fa70d 100644 --- a/src/controllers/api/personal.ts +++ b/src/controllers/api/personal.ts @@ -150,10 +150,10 @@ export async function claimOnLiquid(req, res) { const owner = await models.Contact.findOne({ where: { tenant, isOwner: true }, }) - const { host, asset, to, amount, memo } = req.body + const { asset, to, amount, memo } = req.body const res = await people.claimOnLiquid({ - host: host || 'liquid.sphinx.chat', + host: 'liquid.sphinx.chat', asset, to, amount,