9b6118e6a9835027516655236705166da82b86c3
[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 _0x8d64=['../../components/auth/service','put','isAuthenticated','update','exports','express'];(function(_0x238f61,_0x467ca1){var _0xdeb882=function(_0x325584){while(--_0x325584){_0x238f61['push'](_0x238f61['shift']());}};_0xdeb882(++_0x467ca1);}(_0x8d64,0xb3));var _0x48d6=function(_0xf50820,_0x56f041){_0xf50820=_0xf50820-0x0;var _0x2a9b10=_0x8d64[_0xf50820];return _0x2a9b10;};'use strict';var express=require(_0x48d6('0x0'));var router=express['Router']();var auth=require(_0x48d6('0x1'));var controller=require('./user-setting.controller');router[_0x48d6('0x2')]('/:id',auth[_0x48d6('0x3')](),controller[_0x48d6('0x4')]);module[_0x48d6('0x5')]=router;