Fix data migration

This commit is contained in:
Corbin Davenport 2023-02-20 01:37:38 -05:00
parent f3197ad86c
commit 55025d770c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ async function migrateOldData() {
var data = await chrome.storage.sync.get() var data = await chrome.storage.sync.get()
if (data.userServer) { if (data.userServer) {
var oldServer = data.userServer var oldServer = data.userServer
console('Migrating server selection ' + oldServer + ' to new format...') console.log('Migrating server selection ' + oldServer + ' to new format...')
// Move data // Move data
await chrome.storage.sync.set({serverList: [oldServer]}) await chrome.storage.sync.set({serverList: [oldServer]})
// Delete old data // Delete old data