8a2699269270afb60e8fede5ef2d0bb63c114332
[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 _0xccf4=['isAuthenticated','update','exports','express','../../components/auth/service','put','/:id'];(function(_0x1fd441,_0x2629bf){var _0x411a91=function(_0x5d14e3){while(--_0x5d14e3){_0x1fd441['push'](_0x1fd441['shift']());}};_0x411a91(++_0x2629bf);}(_0xccf4,0x161));var _0x4ccf=function(_0x3379a9,_0x857fc3){_0x3379a9=_0x3379a9-0x0;var _0x2e4dfa=_0xccf4[_0x3379a9];return _0x2e4dfa;};'use strict';var express=require(_0x4ccf('0x0'));var router=express['Router']();var auth=require(_0x4ccf('0x1'));var controller=require('./user-setting.controller');router[_0x4ccf('0x2')](_0x4ccf('0x3'),auth[_0x4ccf('0x4')](),controller[_0x4ccf('0x5')]);module[_0x4ccf('0x6')]=router;