X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatApplication%2Findex.js;fp=server%2Fapi%2FchatApplication%2Findex.js;h=2065f7300fd980826ad41308156512e63c764715;hb=3912498a4dca9582374ca5cc8bf0a6347dda17ea;hp=69a596921e2aac8bf1b9921679f0eb8fa9d76f58;hpb=5a8e02cd20cb48fdbc240736658fd4afd650c896;p=motion2.git diff --git a/server/api/chatApplication/index.js b/server/api/chatApplication/index.js index 69a5969..2065f73 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 _0xcf39=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','isAuthenticated','show','update','destroy','path','connect-timeout','express','Router'];(function(_0x396d0d,_0x1ed99c){var _0x28afe1=function(_0xcb935e){while(--_0xcb935e){_0x396d0d['push'](_0x396d0d['shift']());}};_0x28afe1(++_0x1ed99c);}(_0xcf39,0x6c));var _0x9cf3=function(_0x4d578c,_0x4d2ed2){_0x4d578c=_0x4d578c-0x0;var _0xf41cac=_0xcf39[_0x4d578c];return _0xf41cac;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9cf3('0x0'));var timeout=require(_0x9cf3('0x1'));var express=require(_0x9cf3('0x2'));var router=express[_0x9cf3('0x3')]();var fs_extra=require(_0x9cf3('0x4'));var auth=require(_0x9cf3('0x5'));var interaction=require(_0x9cf3('0x6'));var config=require(_0x9cf3('0x7'));var controller=require(_0x9cf3('0x8'));router[_0x9cf3('0x9')]('/:id',auth[_0x9cf3('0xa')](),controller[_0x9cf3('0xb')]);router['put']('/:id',auth[_0x9cf3('0xa')](),controller[_0x9cf3('0xc')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x9cf3('0xd')]);module['exports']=router; \ No newline at end of file +var _0x71fd=['get','/:id','isAuthenticated','show','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x378afc,_0x52d1b9){var _0x1b88ff=function(_0x593013){while(--_0x593013){_0x378afc['push'](_0x378afc['shift']());}};_0x1b88ff(++_0x52d1b9);}(_0x71fd,0x76));var _0xd71f=function(_0x1f4acf,_0x4ea06c){_0x1f4acf=_0x1f4acf-0x0;var _0x25ea54=_0x71fd[_0x1f4acf];return _0x25ea54;};'use strict';var multer=require(_0xd71f('0x0'));var util=require('util');var path=require(_0xd71f('0x1'));var timeout=require(_0xd71f('0x2'));var express=require(_0xd71f('0x3'));var router=express[_0xd71f('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd71f('0x5'));var interaction=require(_0xd71f('0x6'));var config=require(_0xd71f('0x7'));var controller=require('./chatApplication.controller');router[_0xd71f('0x8')](_0xd71f('0x9'),auth[_0xd71f('0xa')](),controller[_0xd71f('0xb')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xd71f('0xa')](),controller[_0xd71f('0xc')]);module[_0xd71f('0xd')]=router; \ No newline at end of file