Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index 89e00a1..fec75a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f09=['resolve','util','bluebird','../rpc/faxAccount','error','inspect','notify'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x8f09,0x1e4));var _0x98f0=function(_0x1df084,_0x4a85f0){_0x1df084=_0x1df084-0x0;var _0xb011d1=_0x8f09[_0x1df084];return _0xb011d1;};'use strict';var util=require(_0x98f0('0x0'));var BPromise=require(_0x98f0('0x1'));var logger=require('../../../config/logger')('preview');var _=require('lodash');var faxAccount=require(_0x98f0('0x2'));function loggerCatch(_0x22b4e8){return function(_0x2afbad){logger[_0x98f0('0x3')](_0x22b4e8,util[_0x98f0('0x4')](_0x2afbad,{'showHidden':![],'depth':null}));};}exports[_0x98f0('0x5')]=function(_0x1d0a60,_0x5bd182){return BPromise[_0x98f0('0x6')]()['then'](faxAccount[_0x98f0('0x5')](_0x1d0a60,_0x5bd182))['catch'](loggerCatch('[Notify]\x20'));};
\ No newline at end of file
+var _0x5f53=['notify','resolve','catch','util','../../../config/logger','../rpc/faxAccount','error'];(function(_0x2d7886,_0xeb9063){var _0x8e97d7=function(_0x258d5e){while(--_0x258d5e){_0x2d7886['push'](_0x2d7886['shift']());}};_0x8e97d7(++_0xeb9063);}(_0x5f53,0x81));var _0x35f5=function(_0x222214,_0x5c3279){_0x222214=_0x222214-0x0;var _0x303520=_0x5f53[_0x222214];return _0x303520;};'use strict';var util=require(_0x35f5('0x0'));var BPromise=require('bluebird');var logger=require(_0x35f5('0x1'))('preview');var _=require('lodash');var faxAccount=require(_0x35f5('0x2'));function loggerCatch(_0x25c0d0){return function(_0x1beea6){logger[_0x35f5('0x3')](_0x25c0d0,util['inspect'](_0x1beea6,{'showHidden':![],'depth':null}));};}exports[_0x35f5('0x4')]=function(_0x18a421,_0x452cd0){return BPromise[_0x35f5('0x5')]()['then'](faxAccount[_0x35f5('0x4')](_0x18a421,_0x452cd0))[_0x35f5('0x6')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file