fix(torrent): fix adding torrent for new manticore version (duplicate field)
thanks to: #184
This commit is contained in:
parent
e2eed076de
commit
cebb462c53
@ -645,6 +645,7 @@ module.exports = function (send, recive, dataDirectory, version, env)
|
|||||||
addFilesToDatabase()
|
addFilesToDatabase()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete torrent.nameindex;
|
||||||
torrent.nameIndex = buildTorrentIndex(torrent)
|
torrent.nameIndex = buildTorrentIndex(torrent)
|
||||||
|
|
||||||
sphinxSingle.insertValues('torrents', torrent, function(err, result) {
|
sphinxSingle.insertValues('torrents', torrent, function(err, result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user