diff --git a/src/background/spider.js b/src/background/spider.js index 0fabbf4..e11aa29 100644 --- a/src/background/spider.js +++ b/src/background/spider.js @@ -447,6 +447,18 @@ const insertTorrentToDB = (torrent) => { if(!torrent) return + // fix cases for low cases letters + if(torrent.contentcategory) + { + torrent.contentCategory = torrent.contentcategory; + delete torrent.contentcategory; + } + if(torrent.contenttype) + { + torrent.contentType = torrent.contenttype; + delete torrent.contenttype; + } + const { filesList } = torrent delete torrent.filesList;