Merge pull request #2 from lnbits/fix/migration

let undefined
This commit is contained in:
calle
2023-02-20 16:03:13 +01:00
committed by GitHub
+1 -1
View File
@@ -2861,7 +2861,7 @@ page_container %}
migrationLocalstorage: async function () {
// migration from old db to multimint
for (var key in localStorage) {
match = key.match('cashu.(.+).proofs')
let match = key.match('cashu.(.+).proofs')
if (match != null) {
console.log('Migrating mint', match[1])
let mint_id = match[1]