Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / ami / fax / rpcDb.js
index 7d4d90d..fec75a7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2cd9=['then','notify','catch','util','../../../config/logger','lodash','../rpc/faxAccount','inspect','resolve'];(function(_0x45dacb,_0x4b50b2){var _0x1b8c13=function(_0x27deb2){while(--_0x27deb2){_0x45dacb['push'](_0x45dacb['shift']());}};_0x1b8c13(++_0x4b50b2);}(_0x2cd9,0x18f));var _0x92cd=function(_0x1affd2,_0x291512){_0x1affd2=_0x1affd2-0x0;var _0x34996e=_0x2cd9[_0x1affd2];return _0x34996e;};'use strict';var util=require(_0x92cd('0x0'));var BPromise=require('bluebird');var logger=require(_0x92cd('0x1'))('preview');var _=require(_0x92cd('0x2'));var faxAccount=require(_0x92cd('0x3'));function loggerCatch(_0x30d756){return function(_0x3d82a9){logger['error'](_0x30d756,util[_0x92cd('0x4')](_0x3d82a9,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x22eed9,_0x1e8cca){return BPromise[_0x92cd('0x5')]()[_0x92cd('0x6')](faxAccount[_0x92cd('0x7')](_0x22eed9,_0x1e8cca))[_0x92cd('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