85fe38ccc834c3d3a023d60815097c92cdb20113
[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 _0x6cf8=['../../components/auth/service','put','isAuthenticated','update','Router'];(function(_0x46baa3,_0x286bc8){var _0x44731a=function(_0x480ec8){while(--_0x480ec8){_0x46baa3['push'](_0x46baa3['shift']());}};_0x44731a(++_0x286bc8);}(_0x6cf8,0x95));var _0x86cf=function(_0x3ce3e1,_0x1c9f8a){_0x3ce3e1=_0x3ce3e1-0x0;var _0x1c0595=_0x6cf8[_0x3ce3e1];return _0x1c0595;};'use strict';var express=require('express');var router=express[_0x86cf('0x0')]();var auth=require(_0x86cf('0x1'));var controller=require('./user-setting.controller');router[_0x86cf('0x2')]('/:id',auth[_0x86cf('0x3')](),controller[_0x86cf('0x4')]);module['exports']=router;