X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatApplication%2Findex.js;h=f6c110367601fac55da926af3eee5529f156af3d;hb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;hp=6547ecdbec82715363b2a18e73c56bdf56f6e594;hpb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;p=motion2.git diff --git a/server/api/chatApplication/index.js b/server/api/chatApplication/index.js index 6547ecd..f6c1103 100644 --- a/server/api/chatApplication/index.js +++ b/server/api/chatApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8291=['../../components/interaction/service','../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','delete','destroy','exports','multer','util','path','express','fs-extra','../../components/auth/service'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x8291,0x1ad));var _0x1829=function(_0x2c039a,_0x217a31){_0x2c039a=_0x2c039a-0x0;var _0x3f398f=_0x8291[_0x2c039a];return _0x3f398f;};'use strict';var multer=require(_0x1829('0x0'));var util=require(_0x1829('0x1'));var path=require(_0x1829('0x2'));var timeout=require('connect-timeout');var express=require(_0x1829('0x3'));var router=express['Router']();var fs_extra=require(_0x1829('0x4'));var auth=require(_0x1829('0x5'));var interaction=require(_0x1829('0x6'));var config=require(_0x1829('0x7'));var controller=require(_0x1829('0x8'));router[_0x1829('0x9')](_0x1829('0xa'),auth[_0x1829('0xb')](),controller['show']);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x1829('0xc')](_0x1829('0xa'),auth[_0x1829('0xb')](),controller[_0x1829('0xd')]);module[_0x1829('0xe')]=router; \ No newline at end of file +var _0xd726=['../../components/interaction/service','/:id','show','put','isAuthenticated','update','delete','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x2ba015,_0x150788){var _0x3967ca=function(_0x44169c){while(--_0x44169c){_0x2ba015['push'](_0x2ba015['shift']());}};_0x3967ca(++_0x150788);}(_0xd726,0x1ca));var _0x6d72=function(_0x2663bf,_0x2e695b){_0x2663bf=_0x2663bf-0x0;var _0x5777f2=_0xd726[_0x2663bf];return _0x5777f2;};'use strict';var multer=require(_0x6d72('0x0'));var util=require(_0x6d72('0x1'));var path=require('path');var timeout=require(_0x6d72('0x2'));var express=require(_0x6d72('0x3'));var router=express[_0x6d72('0x4')]();var fs_extra=require(_0x6d72('0x5'));var auth=require(_0x6d72('0x6'));var interaction=require(_0x6d72('0x7'));var config=require('../../config/environment');var controller=require('./chatApplication.controller');router['get'](_0x6d72('0x8'),auth['isAuthenticated'](),controller[_0x6d72('0x9')]);router[_0x6d72('0xa')](_0x6d72('0x8'),auth[_0x6d72('0xb')](),controller[_0x6d72('0xc')]);router[_0x6d72('0xd')](_0x6d72('0x8'),auth[_0x6d72('0xb')](),controller[_0x6d72('0xe')]);module['exports']=router; \ No newline at end of file