Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / chatApplication / index.js
index 6f0364c..30f06a0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe2d0=['path','connect-timeout','Router','fs-extra','get','isAuthenticated','update','delete','/:id','destroy','exports','multer'];(function(_0x4628a1,_0x55ff29){var _0x492347=function(_0x4846a9){while(--_0x4846a9){_0x4628a1['push'](_0x4628a1['shift']());}};_0x492347(++_0x55ff29);}(_0xe2d0,0xef));var _0x0e2d=function(_0xdb0e74,_0x2ab149){_0xdb0e74=_0xdb0e74-0x0;var _0x5280d9=_0xe2d0[_0xdb0e74];return _0x5280d9;};'use strict';var multer=require(_0x0e2d('0x0'));var util=require('util');var path=require(_0x0e2d('0x1'));var timeout=require(_0x0e2d('0x2'));var express=require('express');var router=express[_0x0e2d('0x3')]();var fs_extra=require(_0x0e2d('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./chatApplication.controller');router[_0x0e2d('0x5')]('/:id',auth[_0x0e2d('0x6')](),controller['show']);router['put']('/:id',auth[_0x0e2d('0x6')](),controller[_0x0e2d('0x7')]);router[_0x0e2d('0x8')](_0x0e2d('0x9'),auth[_0x0e2d('0x6')](),controller[_0x0e2d('0xa')]);module[_0x0e2d('0xb')]=router;
\ No newline at end of file
+var _0xd2cc=['./chatApplication.controller','get','/:id','isAuthenticated','show','put','update','destroy','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x53abe5,_0x33a9e5){var _0xc1c37e=function(_0xd53c6e){while(--_0xd53c6e){_0x53abe5['push'](_0x53abe5['shift']());}};_0xc1c37e(++_0x33a9e5);}(_0xd2cc,0x14d));var _0xcd2c=function(_0x1dd175,_0x590a7b){_0x1dd175=_0x1dd175-0x0;var _0x53539a=_0xd2cc[_0x1dd175];return _0x53539a;};'use strict';var multer=require('multer');var util=require(_0xcd2c('0x0'));var path=require(_0xcd2c('0x1'));var timeout=require(_0xcd2c('0x2'));var express=require('express');var router=express[_0xcd2c('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xcd2c('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcd2c('0x5'));router[_0xcd2c('0x6')](_0xcd2c('0x7'),auth[_0xcd2c('0x8')](),controller[_0xcd2c('0x9')]);router[_0xcd2c('0xa')](_0xcd2c('0x7'),auth['isAuthenticated'](),controller[_0xcd2c('0xb')]);router['delete'](_0xcd2c('0x7'),auth[_0xcd2c('0x8')](),controller[_0xcd2c('0xc')]);module['exports']=router;
\ No newline at end of file