Built motion from commit (unavailable).|2.4.11
[motion2.git] / server / api / pm2 / index.js
index 0f8818a..c73ba72 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa8d6=['destroy','exports','express','./pm2.controller','get','isAuthenticated','index','/:id','show','post','put','update'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xa8d6,0x7a));var _0x6a8d=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0xa8d6[_0x1969a7];return _0x3d665f;};'use strict';var express=require(_0x6a8d('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x6a8d('0x1'));router[_0x6a8d('0x2')]('/',auth[_0x6a8d('0x3')](),controller[_0x6a8d('0x4')]);router[_0x6a8d('0x2')](_0x6a8d('0x5'),auth[_0x6a8d('0x3')](),controller[_0x6a8d('0x6')]);router[_0x6a8d('0x7')]('/',auth[_0x6a8d('0x3')](),controller['create']);router[_0x6a8d('0x8')]('/:id',auth[_0x6a8d('0x3')](),controller[_0x6a8d('0x9')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x6a8d('0xa')]);module[_0x6a8d('0xb')]=router;
\ No newline at end of file
+var _0xa567=['destroy','exports','express','Router','../../components/auth/service','./pm2.controller','get','isAuthenticated','index','/:id','post','create','update','delete'];(function(_0x26f192,_0x1659d5){var _0x222f38=function(_0x3925c2){while(--_0x3925c2){_0x26f192['push'](_0x26f192['shift']());}};_0x222f38(++_0x1659d5);}(_0xa567,0xf0));var _0x7a56=function(_0x3d2223,_0x30f63f){_0x3d2223=_0x3d2223-0x0;var _0x629071=_0xa567[_0x3d2223];return _0x629071;};'use strict';var express=require(_0x7a56('0x0'));var router=express[_0x7a56('0x1')]();var auth=require(_0x7a56('0x2'));var controller=require(_0x7a56('0x3'));router[_0x7a56('0x4')]('/',auth[_0x7a56('0x5')](),controller[_0x7a56('0x6')]);router['get'](_0x7a56('0x7'),auth['isAuthenticated'](),controller['show']);router[_0x7a56('0x8')]('/',auth[_0x7a56('0x5')](),controller[_0x7a56('0x9')]);router['put'](_0x7a56('0x7'),auth[_0x7a56('0x5')](),controller[_0x7a56('0xa')]);router[_0x7a56('0xb')]('/:id',auth[_0x7a56('0x5')](),controller[_0x7a56('0xc')]);module[_0x7a56('0xd')]=router;
\ No newline at end of file