95f0f8966dbc619a92032cfa0cd2ac834045da0a
[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 _0x74ec=['../../components/auth/service','put','isAuthenticated','update','express'];(function(_0x2c3b20,_0x23bada){var _0x26f206=function(_0x44369a){while(--_0x44369a){_0x2c3b20['push'](_0x2c3b20['shift']());}};_0x26f206(++_0x23bada);}(_0x74ec,0xc2));var _0xc74e=function(_0x4c463f,_0x33dc34){_0x4c463f=_0x4c463f-0x0;var _0x5252bc=_0x74ec[_0x4c463f];return _0x5252bc;};'use strict';var express=require(_0xc74e('0x0'));var router=express['Router']();var auth=require(_0xc74e('0x1'));var controller=require('./user-setting.controller');router[_0xc74e('0x2')]('/:id',auth[_0xc74e('0x3')](),controller[_0xc74e('0x4')]);module['exports']=router;