139917a1c3775608833f178f08729374db64a06a
[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 _0x823d=['Router','../../components/auth/service','put','update','exports','express'];(function(_0x3fd0cd,_0x25f157){var _0x521411=function(_0x236de0){while(--_0x236de0){_0x3fd0cd['push'](_0x3fd0cd['shift']());}};_0x521411(++_0x25f157);}(_0x823d,0x161));var _0xd823=function(_0xea343d,_0x311197){_0xea343d=_0xea343d-0x0;var _0x2c6e9c=_0x823d[_0xea343d];return _0x2c6e9c;};'use strict';var express=require(_0xd823('0x0'));var router=express[_0xd823('0x1')]();var auth=require(_0xd823('0x2'));var controller=require('./user-setting.controller');router[_0xd823('0x3')]('/:id',auth['isAuthenticated'](),controller[_0xd823('0x4')]);module[_0xd823('0x5')]=router;