671cbe87d1275055c521ad75cdbbccd302b20da7
[motion-next.git] / server / api / chatApplication / index.js
1 const a57_0x43e8=['exports','isAuthenticated','./chatApplication.controller','Router','express','/:id','delete','get','destroy','show'];(function(_0x8b0be7,_0x43e8b6){const _0x296cd1=function(_0x27be59){while(--_0x27be59){_0x8b0be7['push'](_0x8b0be7['shift']());}};_0x296cd1(++_0x43e8b6);}(a57_0x43e8,0x13a));const a57_0x296c=function(_0x8b0be7,_0x43e8b6){_0x8b0be7=_0x8b0be7-0x0;let _0x296cd1=a57_0x43e8[_0x8b0be7];return _0x296cd1;};const _0x3f1839=a57_0x296c;'use strict';const express=require(_0x3f1839('0x0')),router=express[_0x3f1839('0x9')](),auth=require('../../components/auth/service'),controller=require(_0x3f1839('0x8'));router[_0x3f1839('0x3')](_0x3f1839('0x1'),auth[_0x3f1839('0x7')](),controller[_0x3f1839('0x5')]),router['put'](_0x3f1839('0x1'),auth[_0x3f1839('0x7')](),controller['update']),router[_0x3f1839('0x2')](_0x3f1839('0x1'),auth['isAuthenticated'](),controller[_0x3f1839('0x4')]),module[_0x3f1839('0x6')]=router;