Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / openchannelApplication / index.js
index a246871..aa5ab94 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1ff9=['show','post','put','update','destroy','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x421040,_0x42091c){var _0x3d737e=function(_0x32ff81){while(--_0x32ff81){_0x421040['push'](_0x421040['shift']());}};_0x3d737e(++_0x42091c);}(_0x1ff9,0xf5));var _0x91ff=function(_0xc916a3,_0x2b600c){_0xc916a3=_0xc916a3-0x0;var _0x15ae95=_0x1ff9[_0xc916a3];return _0x15ae95;};'use strict';var multer=require(_0x91ff('0x0'));var util=require(_0x91ff('0x1'));var path=require(_0x91ff('0x2'));var timeout=require('connect-timeout');var express=require(_0x91ff('0x3'));var router=express['Router']();var auth=require(_0x91ff('0x4'));var interaction=require(_0x91ff('0x5'));var config=require(_0x91ff('0x6'));var controller=require('./openchannelApplication.controller');router[_0x91ff('0x7')]('/',auth[_0x91ff('0x8')](),controller[_0x91ff('0x9')]);router[_0x91ff('0x7')](_0x91ff('0xa'),auth[_0x91ff('0x8')](),controller[_0x91ff('0xb')]);router[_0x91ff('0xc')]('/',auth[_0x91ff('0x8')](),controller['create']);router[_0x91ff('0xd')](_0x91ff('0xa'),auth[_0x91ff('0x8')](),controller[_0x91ff('0xe')]);router['delete'](_0x91ff('0xa'),auth[_0x91ff('0x8')](),controller[_0x91ff('0xf')]);module['exports']=router;
\ No newline at end of file
+var _0x3869=['fs-extra','../../config/environment','get','index','/:id','isAuthenticated','show','create','destroy','exports','multer','util','path','express'];(function(_0x3dd531,_0xedaa84){var _0x299141=function(_0x2ca740){while(--_0x2ca740){_0x3dd531['push'](_0x3dd531['shift']());}};_0x299141(++_0xedaa84);}(_0x3869,0x1a0));var _0x9386=function(_0x357c26,_0x599bdc){_0x357c26=_0x357c26-0x0;var _0x2aaa44=_0x3869[_0x357c26];return _0x2aaa44;};'use strict';var multer=require(_0x9386('0x0'));var util=require(_0x9386('0x1'));var path=require(_0x9386('0x2'));var timeout=require('connect-timeout');var express=require(_0x9386('0x3'));var router=express['Router']();var fs_extra=require(_0x9386('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9386('0x5'));var controller=require('./openchannelApplication.controller');router[_0x9386('0x6')]('/',auth['isAuthenticated'](),controller[_0x9386('0x7')]);router[_0x9386('0x6')](_0x9386('0x8'),auth[_0x9386('0x9')](),controller[_0x9386('0xa')]);router['post']('/',auth[_0x9386('0x9')](),controller[_0x9386('0xb')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0x9386('0x9')](),controller[_0x9386('0xc')]);module[_0x9386('0xd')]=router;
\ No newline at end of file