Работа над ServerStorage

This commit is contained in:
Book Pauk
2019-03-13 00:14:43 +07:00
parent 091c50ec84
commit 571f71c7f0
2 changed files with 43 additions and 16 deletions

View File

@@ -10,6 +10,9 @@ class ReaderStorage {
}
async doAction(act) {
if (!_.isObject(act.items))
throw new Error('items is not an object');
let result = {};
switch (act.action) {
case 'check':