Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / version / index.js
index b2a9dcd..13c489d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9cb1=['exports','express','Router','get','index','/fetch','isAuthenticated','fetch','/reset','canUpdate','reset','pull','/restart','restart','/migrations','migrations'];(function(_0x49f875,_0xcaaade){var _0x181fb7=function(_0x1e166c){while(--_0x1e166c){_0x49f875['push'](_0x49f875['shift']());}};_0x181fb7(++_0xcaaade);}(_0x9cb1,0x81));var _0x19cb=function(_0x1a9f37,_0x3d5d56){_0x1a9f37=_0x1a9f37-0x0;var _0x4f1595=_0x9cb1[_0x1a9f37];return _0x4f1595;};'use strict';var express=require(_0x19cb('0x0'));var router=express[_0x19cb('0x1')]();var auth=require('../../components/auth/service');var controller=require('./version.controller');router[_0x19cb('0x2')]('/',controller[_0x19cb('0x3')]);router['get'](_0x19cb('0x4'),auth[_0x19cb('0x5')](),auth['canUpdate'](),controller[_0x19cb('0x6')]);router[_0x19cb('0x2')](_0x19cb('0x7'),auth[_0x19cb('0x5')](),auth[_0x19cb('0x8')](),controller[_0x19cb('0x9')]);router[_0x19cb('0x2')]('/pull',auth[_0x19cb('0x5')](),auth[_0x19cb('0x8')](),controller[_0x19cb('0xa')]);router[_0x19cb('0x2')](_0x19cb('0xb'),auth[_0x19cb('0x5')](),controller[_0x19cb('0xc')]);router[_0x19cb('0x2')](_0x19cb('0xd'),controller[_0x19cb('0xe')]);module[_0x19cb('0xf')]=router;
\ No newline at end of file
+var _0xaa46=['canUpdate','pull','/restart','restart','/migrations','migrations','exports','express','../../components/auth/service','get','index','isAuthenticated','reset','/pull'];(function(_0xd9feb1,_0x41e2fa){var _0x7cfe41=function(_0x11483b){while(--_0x11483b){_0xd9feb1['push'](_0xd9feb1['shift']());}};_0x7cfe41(++_0x41e2fa);}(_0xaa46,0x85));var _0x6aa4=function(_0x4e0a96,_0x531ed7){_0x4e0a96=_0x4e0a96-0x0;var _0x255076=_0xaa46[_0x4e0a96];return _0x255076;};'use strict';var express=require(_0x6aa4('0x0'));var router=express['Router']();var auth=require(_0x6aa4('0x1'));var controller=require('./version.controller');router[_0x6aa4('0x2')]('/',controller[_0x6aa4('0x3')]);router[_0x6aa4('0x2')]('/fetch',auth[_0x6aa4('0x4')](),auth['canUpdate'](),controller['fetch']);router[_0x6aa4('0x2')]('/reset',auth[_0x6aa4('0x4')](),auth['canUpdate'](),controller[_0x6aa4('0x5')]);router[_0x6aa4('0x2')](_0x6aa4('0x6'),auth[_0x6aa4('0x4')](),auth[_0x6aa4('0x7')](),controller[_0x6aa4('0x8')]);router[_0x6aa4('0x2')](_0x6aa4('0x9'),auth[_0x6aa4('0x4')](),controller[_0x6aa4('0xa')]);router['get'](_0x6aa4('0xb'),controller[_0x6aa4('0xc')]);module[_0x6aa4('0xd')]=router;
\ No newline at end of file