0ecf8706a1bd76786bad80ec4cee18151c528eb6
[motion-next.git] / server / api / squareReport / index.js
1 const a608_0x5b3f=['isAuthenticated','express','describe','create','Router','../../components/auth/service','show','put','./squareReport.controller','get','exports','/:id','/describe'];(function(_0x49b4c8,_0x5b3f1e){const _0x83236e=function(_0x3e6a68){while(--_0x3e6a68){_0x49b4c8['push'](_0x49b4c8['shift']());}};_0x83236e(++_0x5b3f1e);}(a608_0x5b3f,0xe2));const a608_0x8323=function(_0x49b4c8,_0x5b3f1e){_0x49b4c8=_0x49b4c8-0x0;let _0x83236e=a608_0x5b3f[_0x49b4c8];return _0x83236e;};const _0x316a8d=a608_0x8323;'use strict';const express=require(_0x316a8d('0x9')),router=express[_0x316a8d('0xc')](),auth=require(_0x316a8d('0x0')),controller=require(_0x316a8d('0x3'));router[_0x316a8d('0x4')]('/',auth[_0x316a8d('0x8')](),controller['index']),router[_0x316a8d('0x4')](_0x316a8d('0x7'),auth[_0x316a8d('0x8')](),controller[_0x316a8d('0xa')]),router[_0x316a8d('0x4')](_0x316a8d('0x6'),auth[_0x316a8d('0x8')](),controller[_0x316a8d('0x1')]),router['post']('/',auth[_0x316a8d('0x8')](),controller[_0x316a8d('0xb')]),router[_0x316a8d('0x2')](_0x316a8d('0x6'),auth['isAuthenticated'](),controller['update']),router['delete'](_0x316a8d('0x6'),auth['isAuthenticated'](),controller['destroy']),module[_0x316a8d('0x5')]=router;