Fix error at registration

pull/1/head
yflory 6 years ago
parent 17dc4af1aa
commit e98b4176b4

@ -179,7 +179,7 @@ define([
}).nThen(function () {
// Migration 8: remove duplicate entries in proxy.FS_hashes (list of migrated anon drives)
var fixDuplicate = function () {
userObject.FS_hashes = Util.deduplicateString(userObject.FS_hashes);
userObject.FS_hashes = Util.deduplicateString(userObject.FS_hashes || []);
};
if (version < 8) {
fixDuplicate();

Loading…
Cancel
Save