1f49a9b06d7feb6fca7b4f3fe1331fb6f128ef0e
[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 _0x81b4=['../../components/auth/service','./user-setting.controller','put','isAuthenticated','update','express'];(function(_0x2c1407,_0x3a1371){var _0x368aa4=function(_0x423f81){while(--_0x423f81){_0x2c1407['push'](_0x2c1407['shift']());}};_0x368aa4(++_0x3a1371);}(_0x81b4,0x1c1));var _0x481b=function(_0x164ecd,_0x46ae5e){_0x164ecd=_0x164ecd-0x0;var _0x14a915=_0x81b4[_0x164ecd];return _0x14a915;};'use strict';var express=require(_0x481b('0x0'));var router=express['Router']();var auth=require(_0x481b('0x1'));var controller=require(_0x481b('0x2'));router[_0x481b('0x3')]('/:id',auth[_0x481b('0x4')](),controller[_0x481b('0x5')]);module['exports']=router;