Built motion from commit 85328c08.|2.5.50
[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 _0x1f3a=['Router','./user-setting.controller','put','isAuthenticated','exports'];(function(_0x4ea00e,_0x22e245){var _0x2a4e7a=function(_0x5b8355){while(--_0x5b8355){_0x4ea00e['push'](_0x4ea00e['shift']());}};_0x2a4e7a(++_0x22e245);}(_0x1f3a,0x64));var _0xa1f3=function(_0x30dd79,_0x5863df){_0x30dd79=_0x30dd79-0x0;var _0x1c0152=_0x1f3a[_0x30dd79];return _0x1c0152;};'use strict';var express=require('express');var router=express[_0xa1f3('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0xa1f3('0x1'));router[_0xa1f3('0x2')]('/:id',auth[_0xa1f3('0x3')](),controller['update']);module[_0xa1f3('0x4')]=router;