diff --git a/src/renderer/controllers/torrent-list-controller.js b/src/renderer/controllers/torrent-list-controller.js index 1bb8ac71..89a13d7b 100644 --- a/src/renderer/controllers/torrent-list-controller.js +++ b/src/renderer/controllers/torrent-list-controller.js @@ -101,7 +101,7 @@ module.exports = class TorrentListController { function start () { ipcRenderer.send('wt-start-torrenting', s.torrentKey, - TorrentSummary.getTorrentID(s), + TorrentSummary.getTorrentId(s), s.path, s.fileModtimes, s.selections) diff --git a/src/renderer/lib/torrent-summary.js b/src/renderer/lib/torrent-summary.js index 2e4866d4..dadc628a 100644 --- a/src/renderer/lib/torrent-summary.js +++ b/src/renderer/lib/torrent-summary.js @@ -2,7 +2,7 @@ module.exports = { getPosterPath, getTorrentPath, getByKey, - getTorrentID, + getTorrentId, getFileOrFolder } @@ -28,7 +28,7 @@ function getPosterPath (torrentSummary) { // Expects a torrentSummary // Returns a torrentID: filename, magnet URI, or infohash -function getTorrentID (torrentSummary) { +function getTorrentId (torrentSummary) { const s = torrentSummary if (s.torrentFileName) { // Load torrent file from disk return getTorrentPath(s)