Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / fax / rpcDb.js
index 4b62a8e..4d1a88e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x399f=['then','catch','[Notify]\x20','../../../config/logger','lodash','error','notify'];(function(_0x439410,_0x425a4f){var _0x21003d=function(_0x1927c8){while(--_0x1927c8){_0x439410['push'](_0x439410['shift']());}};_0x21003d(++_0x425a4f);}(_0x399f,0x1ae));var _0xf399=function(_0x5cd65a,_0x3f299c){_0x5cd65a=_0x5cd65a-0x0;var _0x3acd3e=_0x399f[_0x5cd65a];return _0x3acd3e;};'use strict';var util=require('util');var BPromise=require('bluebird');var logger=require(_0xf399('0x0'))('preview');var _=require(_0xf399('0x1'));var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x2576a6){return function(_0x5bd8b3){logger[_0xf399('0x2')](_0x2576a6,util['inspect'](_0x5bd8b3,{'showHidden':![],'depth':null}));};}exports[_0xf399('0x3')]=function(_0x2dd53a,_0x39d20a){return BPromise['resolve']()[_0xf399('0x4')](faxAccount[_0xf399('0x3')](_0x2dd53a,_0x39d20a))[_0xf399('0x5')](loggerCatch(_0xf399('0x6')));};
\ No newline at end of file
+var _0x1b34=['../../../config/logger','preview','../rpc/faxAccount','error','notify','resolve','then','catch','util'];(function(_0x4dbaad,_0x730318){var _0x226c72=function(_0x501972){while(--_0x501972){_0x4dbaad['push'](_0x4dbaad['shift']());}};_0x226c72(++_0x730318);}(_0x1b34,0x1a6));var _0x41b3=function(_0x1585a4,_0x19d0cb){_0x1585a4=_0x1585a4-0x0;var _0x5a9722=_0x1b34[_0x1585a4];return _0x5a9722;};'use strict';var util=require(_0x41b3('0x0'));var BPromise=require('bluebird');var logger=require(_0x41b3('0x1'))(_0x41b3('0x2'));var _=require('lodash');var faxAccount=require(_0x41b3('0x3'));function loggerCatch(_0x1cff19){return function(_0x2dec15){logger[_0x41b3('0x4')](_0x1cff19,util['inspect'](_0x2dec15,{'showHidden':![],'depth':null}));};}exports[_0x41b3('0x5')]=function(_0x382bf1,_0xf9cd14){return BPromise[_0x41b3('0x6')]()[_0x41b3('0x7')](faxAccount[_0x41b3('0x5')](_0x382bf1,_0xf9cd14))[_0x41b3('0x8')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file