Fix error at registration
This commit is contained in:
@@ -179,7 +179,7 @@ define([
|
|||||||
}).nThen(function () {
|
}).nThen(function () {
|
||||||
// Migration 8: remove duplicate entries in proxy.FS_hashes (list of migrated anon drives)
|
// Migration 8: remove duplicate entries in proxy.FS_hashes (list of migrated anon drives)
|
||||||
var fixDuplicate = function () {
|
var fixDuplicate = function () {
|
||||||
userObject.FS_hashes = Util.deduplicateString(userObject.FS_hashes);
|
userObject.FS_hashes = Util.deduplicateString(userObject.FS_hashes || []);
|
||||||
};
|
};
|
||||||
if (version < 8) {
|
if (version < 8) {
|
||||||
fixDuplicate();
|
fixDuplicate();
|
||||||
|
|||||||
Reference in New Issue
Block a user