ae4d3faf99d3eaa0a129d2e494fb6c52fa1dc2e7
[motion.git] / server / api / version / version.controller.js
1 var _0x8088=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x69\x6E\x64\x65\x78"];_0x8088[0];var logger=require(_0x8088[2])(_0x8088[1]);function handleError(_0x4f81x3){return function(_0x4f81x4){logger[_0x8088[4]](_0x4f81x4[_0x8088[3]]);return _0x4f81x3[_0x8088[6]](500)[_0x8088[5]](_0x4f81x4)}}function responseWithResult(_0x4f81x3,_0x4f81x6){_0x4f81x6= _0x4f81x6|| 200;return function(_0x4f81x7){if(_0x4f81x7){_0x4f81x3[_0x8088[6]](_0x4f81x6)[_0x8088[7]](_0x4f81x7)}}}function handleEntityNotFound(_0x4f81x3){return function(_0x4f81x7){if(!_0x4f81x7){_0x4f81x3[_0x8088[6]](404)[_0x8088[8]]();return null};return _0x4f81x7}}function saveUpdates(_0x4f81xa){return function(_0x4f81x7){return _0x4f81x7[_0x8088[9]](_0x4f81xa)}}exports[_0x8088[10]]= function(_0x4f81xb,_0x4f81x3){return _0x4f81x3[_0x8088[6]](200)[_0x8088[5]]({phonebar:1})}