Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / services / ami / fax / rpcDb.js
index 985ebda..d77556a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbb1f=['notify','catch','bluebird','../../../config/logger','lodash','../rpc/faxAccount','inspect'];(function(_0x5661bc,_0x591294){var _0x5207e0=function(_0x54e714){while(--_0x54e714){_0x5661bc['push'](_0x5661bc['shift']());}};_0x5207e0(++_0x591294);}(_0xbb1f,0x105));var _0xfbb1=function(_0x4b2cc6,_0x29ef43){_0x4b2cc6=_0x4b2cc6-0x0;var _0x3e0b08=_0xbb1f[_0x4b2cc6];return _0x3e0b08;};'use strict';var util=require('util');var BPromise=require(_0xfbb1('0x0'));var logger=require(_0xfbb1('0x1'))('preview');var _=require(_0xfbb1('0x2'));var faxAccount=require(_0xfbb1('0x3'));function loggerCatch(_0x5a25a3){return function(_0x495962){logger['error'](_0x5a25a3,util[_0xfbb1('0x4')](_0x495962,{'showHidden':![],'depth':null}));};}exports[_0xfbb1('0x5')]=function(_0x4a8b29,_0x17d168){return BPromise['resolve']()['then'](faxAccount[_0xfbb1('0x5')](_0x4a8b29,_0x17d168))[_0xfbb1('0x6')](loggerCatch('[Notify]\x20'));};
\ No newline at end of file
+var _0xd155=['[Notify]\x20','util','../../../config/logger','error','inspect','notify','resolve'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0xd155,0xa9));var _0x5d15=function(_0x325a08,_0x571fff){_0x325a08=_0x325a08-0x0;var _0x436e01=_0xd155[_0x325a08];return _0x436e01;};'use strict';var util=require(_0x5d15('0x0'));var BPromise=require('bluebird');var logger=require(_0x5d15('0x1'))('preview');var _=require('lodash');var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x5677ba){return function(_0x53f9b3){logger[_0x5d15('0x2')](_0x5677ba,util[_0x5d15('0x3')](_0x53f9b3,{'showHidden':![],'depth':null}));};}exports[_0x5d15('0x4')]=function(_0x19d87e,_0xb38593){return BPromise[_0x5d15('0x5')]()['then'](faxAccount[_0x5d15('0x4')](_0x19d87e,_0xb38593))['catch'](loggerCatch(_0x5d15('0x6')));};
\ No newline at end of file