refactor admin-server to lib directory

This commit is contained in:
Josh Harvey 2017-06-16 16:23:51 +03:00
parent 9285cac467
commit 8440fa3b1d
6 changed files with 590 additions and 389 deletions

View file

@ -54,7 +54,6 @@ function reboot (rec) {
}
function setMachine (rec) {
console.log('DEBUG100: %j', rec.action)
switch (rec.action) {
case 'resetCashOutBills': return resetCashOutBills(rec)
case 'unpair': return unpair(rec)