X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Femail%2Fclient.js;h=b922e87948a0e93c3ef0feb94d2ca98bb238c450;hb=d0e53397894213749637bb93a101e4fc9544eaa3;hp=7b2e99ecc5030e0a571e95c5a40f3ad2afb1dc19;hpb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;p=motion2.git diff --git a/server/services/email/client.js b/server/services/email/client.js index 7b2e99e..b922e87 100644 --- a/server/services/email/client.js +++ b/server/services/email/client.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9335=['result','catch','jayson/promise','bluebird','routing','client','http','Request','request','debug','rpc','error','message'];(function(_0x11fb16,_0x29a381){var _0x343de1=function(_0x4a69f7){while(--_0x4a69f7){_0x11fb16['push'](_0x11fb16['shift']());}};_0x343de1(++_0x29a381);}(_0x9335,0xab));var _0x5933=function(_0x4b5ddd,_0x2d673b){_0x4b5ddd=_0x4b5ddd-0x0;var _0x4524fc=_0x9335[_0x4b5ddd];return _0x4524fc;};'use strict';var jayson=require(_0x5933('0x0'));var BPromise=require(_0x5933('0x1'));var logger=require('../../config/logger')(_0x5933('0x2'));var client=jayson[_0x5933('0x3')][_0x5933('0x4')]({'port':0x2329});client[_0x5933('0x5')]=function(_0x934663,_0xc3fbd1){return new BPromise(function(_0x310370,_0x5e3fc4){return client[_0x5933('0x6')](_0x934663,_0xc3fbd1)['then'](function(_0x553710){logger[_0x5933('0x7')](_0x5933('0x8'),_0x5933('0x2'),_0x934663,_0xc3fbd1,_0x553710);if(_0x553710['error']){logger[_0x5933('0x9')](_0x5933('0x8'),_0x5933('0x2'),_0x934663,_0x553710[_0x5933('0x9')][_0x5933('0xa')],_0xc3fbd1);return _0x5e3fc4(_0x553710[_0x5933('0x9')][_0x5933('0xa')]);}else{return _0x310370(_0x553710[_0x5933('0xb')]);}})[_0x5933('0xc')](function(_0x2df73c){logger[_0x5933('0x9')](_0x5933('0x8'),_0x5933('0x2'),_0x934663,_0x2df73c,_0xc3fbd1);return _0x5e3fc4(_0x2df73c);});});};module['exports']=client; \ No newline at end of file +var _0x8ef6=['catch','exports','jayson/promise','bluebird','../../config/logger','routing','client','http','Request','request','debug','rpc','error','message','result'];(function(_0x3550c3,_0x3ffede){var _0x40d111=function(_0x4574e6){while(--_0x4574e6){_0x3550c3['push'](_0x3550c3['shift']());}};_0x40d111(++_0x3ffede);}(_0x8ef6,0xf2));var _0x68ef=function(_0x2b4acb,_0x1f96a2){_0x2b4acb=_0x2b4acb-0x0;var _0x215651=_0x8ef6[_0x2b4acb];return _0x215651;};'use strict';var jayson=require(_0x68ef('0x0'));var BPromise=require(_0x68ef('0x1'));var logger=require(_0x68ef('0x2'))(_0x68ef('0x3'));var client=jayson[_0x68ef('0x4')][_0x68ef('0x5')]({'port':0x2329});client[_0x68ef('0x6')]=function(_0x4a72b8,_0x27d0af){return new BPromise(function(_0x129ce,_0xbab618){return client[_0x68ef('0x7')](_0x4a72b8,_0x27d0af)['then'](function(_0x4f77f3){logger[_0x68ef('0x8')](_0x68ef('0x9'),_0x68ef('0x3'),_0x4a72b8,_0x27d0af,_0x4f77f3);if(_0x4f77f3['error']){logger[_0x68ef('0xa')](_0x68ef('0x9'),_0x68ef('0x3'),_0x4a72b8,_0x4f77f3[_0x68ef('0xa')][_0x68ef('0xb')],_0x27d0af);return _0xbab618(_0x4f77f3[_0x68ef('0xa')][_0x68ef('0xb')]);}else{return _0x129ce(_0x4f77f3[_0x68ef('0xc')]);}})[_0x68ef('0xd')](function(_0x255c85){logger[_0x68ef('0xa')](_0x68ef('0x9'),'routing',_0x4a72b8,_0x255c85,_0x27d0af);return _0xbab618(_0x255c85);});});};module[_0x68ef('0xe')]=client; \ No newline at end of file