Fix error at registration
This commit is contained in:
parent
17dc4af1aa
commit
e98b4176b4
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user