X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fpause%2Findex.js;h=f834916d4fccd5e4dea8e95d1ea6f2852c167d7a;hb=676e0a00dac18511f03a9406d0d87e461770e967;hp=a12d15eb3161afc4b5508007db21b3b7944e434a;hpb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;p=motion2.git diff --git a/server/api/pause/index.js b/server/api/pause/index.js index a12d15e..f834916 100644 --- a/server/api/pause/index.js +++ b/server/api/pause/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa004=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0xa004,0x65));var _0x4a00=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa004[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x4a00('0x0'));var util=require(_0x4a00('0x1'));var path=require(_0x4a00('0x2'));var timeout=require(_0x4a00('0x3'));var express=require(_0x4a00('0x4'));var router=express[_0x4a00('0x5')]();var fs_extra=require(_0x4a00('0x6'));var auth=require(_0x4a00('0x7'));var interaction=require(_0x4a00('0x8'));var config=require('../../config/environment');var controller=require('./pause.controller');router[_0x4a00('0x9')]('/',auth[_0x4a00('0xa')](),controller[_0x4a00('0xb')]);router[_0x4a00('0x9')](_0x4a00('0xc'),auth[_0x4a00('0xa')](),controller[_0x4a00('0xd')]);router[_0x4a00('0xe')]('/',auth[_0x4a00('0xa')](),controller[_0x4a00('0xf')]);router[_0x4a00('0x10')](_0x4a00('0xc'),auth[_0x4a00('0xa')](),controller[_0x4a00('0x11')]);router[_0x4a00('0x12')](_0x4a00('0xc'),auth[_0x4a00('0xa')](),controller[_0x4a00('0x13')]);module[_0x4a00('0x14')]=router; \ No newline at end of file +var _0x84b0=['path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','show','post','create','put','/:id','update','exports','multer'];(function(_0x23f9ed,_0x3bf97d){var _0x25a019=function(_0x32a1ee){while(--_0x32a1ee){_0x23f9ed['push'](_0x23f9ed['shift']());}};_0x25a019(++_0x3bf97d);}(_0x84b0,0x7d));var _0x084b=function(_0x297fd3,_0x115406){_0x297fd3=_0x297fd3-0x0;var _0x2af381=_0x84b0[_0x297fd3];return _0x2af381;};'use strict';var multer=require(_0x084b('0x0'));var util=require('util');var path=require(_0x084b('0x1'));var timeout=require(_0x084b('0x2'));var express=require(_0x084b('0x3'));var router=express['Router']();var fs_extra=require(_0x084b('0x4'));var auth=require(_0x084b('0x5'));var interaction=require(_0x084b('0x6'));var config=require(_0x084b('0x7'));var controller=require('./pause.controller');router[_0x084b('0x8')]('/',auth[_0x084b('0x9')](),controller[_0x084b('0xa')]);router[_0x084b('0x8')]('/:id',auth[_0x084b('0x9')](),controller[_0x084b('0xb')]);router[_0x084b('0xc')]('/',auth['isAuthenticated'](),controller[_0x084b('0xd')]);router[_0x084b('0xe')](_0x084b('0xf'),auth[_0x084b('0x9')](),controller[_0x084b('0x10')]);router['delete'](_0x084b('0xf'),auth[_0x084b('0x9')](),controller['destroy']);module[_0x084b('0x11')]=router; \ No newline at end of file