b22226c78572310228dfe38f555fc35bf37ddbef
[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 _0x044d=['exports','express','Router','./user-setting.controller','put','isAuthenticated'];(function(_0x244893,_0x41a5d6){var _0x2c6874=function(_0x21a27b){while(--_0x21a27b){_0x244893['push'](_0x244893['shift']());}};_0x2c6874(++_0x41a5d6);}(_0x044d,0x10f));var _0xd044=function(_0x41b144,_0x114d90){_0x41b144=_0x41b144-0x0;var _0x4b9c3c=_0x044d[_0x41b144];return _0x4b9c3c;};'use strict';var express=require(_0xd044('0x0'));var router=express[_0xd044('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xd044('0x2'));router[_0xd044('0x3')]('/:id',auth[_0xd044('0x4')](),controller['update']);module[_0xd044('0x5')]=router;