Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / version / index.js
index e77763a..13c489d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x41ca=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','/migrations','migrations','express','Router','./version.controller','get','index','/fetch'];(function(_0x558f84,_0x3c4dfd){var _0x225d3f=function(_0x4b8aba){while(--_0x4b8aba){_0x558f84['push'](_0x558f84['shift']());}};_0x225d3f(++_0x3c4dfd);}(_0x41ca,0xba));var _0xa41c=function(_0x249c94,_0xc350a5){_0x249c94=_0x249c94-0x0;var _0x44587c=_0x41ca[_0x249c94];return _0x44587c;};'use strict';var express=require(_0xa41c('0x0'));var router=express[_0xa41c('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa41c('0x2'));router[_0xa41c('0x3')]('/',controller[_0xa41c('0x4')]);router[_0xa41c('0x3')](_0xa41c('0x5'),auth[_0xa41c('0x6')](),auth[_0xa41c('0x7')](),controller[_0xa41c('0x8')]);router['get'](_0xa41c('0x9'),auth['isAuthenticated'](),auth[_0xa41c('0x7')](),controller[_0xa41c('0xa')]);router['get'](_0xa41c('0xb'),auth[_0xa41c('0x6')](),auth[_0xa41c('0x7')](),controller[_0xa41c('0xc')]);router['get'](_0xa41c('0xd'),auth[_0xa41c('0x6')](),controller['restart']);router['get'](_0xa41c('0xe'),controller[_0xa41c('0xf')]);module['exports']=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