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