Built motion from commit cf5ff673.|2.5.41
[motion2.git] / server / services / ami / fax / rpcDb.js
index d28b6b7..496ac30 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1b24=['resolve','then','catch','[Notify]\x20','util','bluebird','../../../config/logger','preview','lodash','../rpc/faxAccount'];(function(_0x54f986,_0x15412){var _0x3f436a=function(_0x4877f0){while(--_0x4877f0){_0x54f986['push'](_0x54f986['shift']());}};_0x3f436a(++_0x15412);}(_0x1b24,0x68));var _0x41b2=function(_0x1615c1,_0x3a495f){_0x1615c1=_0x1615c1-0x0;var _0x3e5918=_0x1b24[_0x1615c1];return _0x3e5918;};'use strict';var util=require(_0x41b2('0x0'));var BPromise=require(_0x41b2('0x1'));var logger=require(_0x41b2('0x2'))(_0x41b2('0x3'));var _=require(_0x41b2('0x4'));var faxAccount=require(_0x41b2('0x5'));function loggerCatch(_0x5cbefd){return function(_0x2d4206){logger['error'](_0x5cbefd,util['inspect'](_0x2d4206,{'showHidden':![],'depth':null}));};}exports['notify']=function(_0x277a70,_0x481d26){return BPromise[_0x41b2('0x6')]()[_0x41b2('0x7')](faxAccount['notify'](_0x277a70,_0x481d26))[_0x41b2('0x8')](loggerCatch(_0x41b2('0x9')));};
\ No newline at end of file
+var _0x6e3f=['then','catch','[Notify]\x20','bluebird','../../../config/logger','preview','error','notify','resolve'];(function(_0x253fc1,_0x52e25a){var _0x3c5cf7=function(_0x4e70b2){while(--_0x4e70b2){_0x253fc1['push'](_0x253fc1['shift']());}};_0x3c5cf7(++_0x52e25a);}(_0x6e3f,0x11a));var _0xf6e3=function(_0x27f7c6,_0x100aa9){_0x27f7c6=_0x27f7c6-0x0;var _0x3cab97=_0x6e3f[_0x27f7c6];return _0x3cab97;};'use strict';var util=require('util');var BPromise=require(_0xf6e3('0x0'));var logger=require(_0xf6e3('0x1'))(_0xf6e3('0x2'));var _=require('lodash');var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x48d78b){return function(_0x1251b8){logger[_0xf6e3('0x3')](_0x48d78b,util['inspect'](_0x1251b8,{'showHidden':![],'depth':null}));};}exports[_0xf6e3('0x4')]=function(_0x4204ea,_0x4f55ae){return BPromise[_0xf6e3('0x5')]()[_0xf6e3('0x6')](faxAccount[_0xf6e3('0x4')](_0x4204ea,_0x4f55ae))[_0xf6e3('0x7')](loggerCatch(_0xf6e3('0x8')));};
\ No newline at end of file