Built motion from commit e02f907f.|2.6.14
[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 _0x621b=['exports','express','Router','./user-setting.controller','/:id','update'];(function(_0x38cd4c,_0x2702cf){var _0x31f5a4=function(_0x5cbeb0){while(--_0x5cbeb0){_0x38cd4c['push'](_0x38cd4c['shift']());}};_0x31f5a4(++_0x2702cf);}(_0x621b,0x181));var _0xb621=function(_0x74892f,_0x1e981b){_0x74892f=_0x74892f-0x0;var _0x10ee61=_0x621b[_0x74892f];return _0x10ee61;};'use strict';var express=require(_0xb621('0x0'));var router=express[_0xb621('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xb621('0x2'));router['put'](_0xb621('0x3'),auth['isAuthenticated'](),controller[_0xb621('0x4')]);module[_0xb621('0x5')]=router;