bbc43f1b2805098f6d794b04a5f9a2a5d256d892
[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 _0x9aad=['isAuthenticated','update','Router','../../components/auth/service','./user-setting.controller','put'];(function(_0x1fbc70,_0x557c9c){var _0x41a75b=function(_0x4e8eb0){while(--_0x4e8eb0){_0x1fbc70['push'](_0x1fbc70['shift']());}};_0x41a75b(++_0x557c9c);}(_0x9aad,0x110));var _0xd9aa=function(_0x204106,_0x3e2e12){_0x204106=_0x204106-0x0;var _0x157a1a=_0x9aad[_0x204106];return _0x157a1a;};'use strict';var express=require('express');var router=express[_0xd9aa('0x0')]();var auth=require(_0xd9aa('0x1'));var controller=require(_0xd9aa('0x2'));router[_0xd9aa('0x3')]('/:id',auth[_0xd9aa('0x4')](),controller[_0xd9aa('0x5')]);module['exports']=router;