7f73c24667d51dd783486f8e62396cf0a0689101
[motion2.git] / server / api / user-setting / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x9525=['isAuthenticated','update','exports','express','../../components/auth/service','put','/:id'];(function(_0x1cd42b,_0x1a750f){var _0x1ce986=function(_0x565893){while(--_0x565893){_0x1cd42b['push'](_0x1cd42b['shift']());}};_0x1ce986(++_0x1a750f);}(_0x9525,0x137));var _0x5952=function(_0x3bbf1,_0x3ced07){_0x3bbf1=_0x3bbf1-0x0;var _0x1e7a89=_0x9525[_0x3bbf1];return _0x1e7a89;};'use strict';var express=require(_0x5952('0x0'));var router=express['Router']();var auth=require(_0x5952('0x1'));var controller=require('./user-setting.controller');router[_0x5952('0x2')](_0x5952('0x3'),auth[_0x5952('0x4')](),controller[_0x5952('0x5')]);module[_0x5952('0x6')]=router;