saved.name is absent when checking in manager

This commit is contained in:
tophf 2017-12-09 23:27:40 +03:00
parent ed1b163087
commit 42e458ad69

View File

@ -66,7 +66,7 @@ var updater = {
function reportSuccess(saved) { function reportSuccess(saved) {
observer(updater.UPDATED, saved); observer(updater.UPDATED, saved);
updater.log(updater.UPDATED + ` #${saved.id} ${saved.name}`); updater.log(updater.UPDATED + ` #${style.id} ${style.name}`);
} }
function reportFailure(err) { function reportFailure(err) {