Fix TypeError in migrate-user-object (#829)

pull/1/head
yflory 3 years ago
parent e4fe445c16
commit 2b6310134b

@ -111,7 +111,7 @@ define([
} }
}).nThen(function (waitFor) { }).nThen(function (waitFor) {
var addChannelId = function () { var addChannelId = function () {
var data = userObject.drive.filesData; var data = userObject.drive.filesData || {};
var el, parsed; var el, parsed;
var n = nThen(function () {}); var n = nThen(function () {});
var padsLength = Object.keys(data).length; var padsLength = Object.keys(data).length;

Loading…
Cancel
Save