dfedb161b7d17d1c9e25b0e4744f57898b8f06a9
[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 _0x45de=['update','exports','express','./user-setting.controller','put','/:id'];(function(_0x1293fa,_0x446d6b){var _0x1dd054=function(_0x1b2d93){while(--_0x1b2d93){_0x1293fa['push'](_0x1293fa['shift']());}};_0x1dd054(++_0x446d6b);}(_0x45de,0xf8));var _0xe45d=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x45de[_0x167cc1];return _0x10bc4b;};'use strict';var express=require(_0xe45d('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0xe45d('0x1'));router[_0xe45d('0x2')](_0xe45d('0x3'),auth['isAuthenticated'](),controller[_0xe45d('0x4')]);module[_0xe45d('0x5')]=router;