Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index 33d2f7c..fec75a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x12e1=['inspect','resolve','then','notify','catch','bluebird','../../../config/logger','lodash','../rpc/faxAccount'];(function(_0x170997,_0x554998){var _0x29dd6d=function(_0x468475){while(--_0x468475){_0x170997['push'](_0x170997['shift']());}};_0x29dd6d(++_0x554998);}(_0x12e1,0xc2));var _0x112e=function(_0xc82c84,_0x221d8e){_0xc82c84=_0xc82c84-0x0;var _0x3e576c=_0x12e1[_0xc82c84];return _0x3e576c;};'use strict';var util=require('util');var BPromise=require(_0x112e('0x0'));var logger=require(_0x112e('0x1'))('preview');var _=require(_0x112e('0x2'));var faxAccount=require(_0x112e('0x3'));function loggerCatch(_0x75ad8){return function(_0x10634d){logger['error'](_0x75ad8,util[_0x112e('0x4')](_0x10634d,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x1b0dad,_0x3b9b35){return BPromise[_0x112e('0x5')]()[_0x112e('0x6')](faxAccount[_0x112e('0x7')](_0x1b0dad,_0x3b9b35))[_0x112e('0x8')](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