From 62544d77548bf2dfeb83e91096e6f81acbd0ef8f Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Tue, 5 Sep 2023 13:54:51 +0200 Subject: [PATCH] fix: verification error --- package.json | 2 +- src/background/background.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ef89019..4b12d9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Miru", - "version": "4.4.1", + "version": "4.4.2", "author": "ThaUnknown_ ", "description": "Stream anime torrents, real-time with no waiting for downloads.", "main": "build/main.js", diff --git a/src/background/background.js b/src/background/background.js index 733f036..bcab7ce 100644 --- a/src/background/background.js +++ b/src/background/background.js @@ -61,7 +61,7 @@ class TorrentClient extends WebTorrent { loadLastTorrent () { const torrent = localStorage.getItem('torrent') - if (torrent) this.addTorrent(new Uint8Array(JSON.parse(torrent)), localStorage.getItem('lastFinished')) + if (torrent) this.addTorrent(new Uint8Array(JSON.parse(torrent)), JSON.parse(localStorage.getItem('lastFinished'))) } handleTorrent (torrent) {