Built motion from commit 3c2ce842.|2.6.31
[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 _0xca5c=['/:id','express','Router','../../components/auth/service'];(function(_0x1f5038,_0x4631a8){var _0x54c22d=function(_0x23b9ab){while(--_0x23b9ab){_0x1f5038['push'](_0x1f5038['shift']());}};_0x54c22d(++_0x4631a8);}(_0xca5c,0x119));var _0xcca5=function(_0x590da5,_0x298084){_0x590da5=_0x590da5-0x0;var _0x54d4c4=_0xca5c[_0x590da5];return _0x54d4c4;};'use strict';var express=require(_0xcca5('0x0'));var router=express[_0xcca5('0x1')]();var auth=require(_0xcca5('0x2'));var controller=require('./user-setting.controller');router['put'](_0xcca5('0x3'),auth['isAuthenticated'](),controller['update']);module['exports']=router;