Built motion from commit a61a4a20.|2.5.46
[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 _0x5930=['/:id','update','express','./user-setting.controller','put'];(function(_0x5608a3,_0x5b33c5){var _0x1ed50a=function(_0x959171){while(--_0x959171){_0x5608a3['push'](_0x5608a3['shift']());}};_0x1ed50a(++_0x5b33c5);}(_0x5930,0xfc));var _0x0593=function(_0x13dfec,_0x5757da){_0x13dfec=_0x13dfec-0x0;var _0x21d097=_0x5930[_0x13dfec];return _0x21d097;};'use strict';var express=require(_0x0593('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x0593('0x1'));router[_0x0593('0x2')](_0x0593('0x3'),auth['isAuthenticated'](),controller[_0x0593('0x4')]);module['exports']=router;