mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-06 07:18:53 +02:00
spilt torrent info function from torrent controller
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
torrentId: '@_torrentId'
|
||||
}, {
|
||||
update: {
|
||||
method: 'POST'
|
||||
method: 'PUT'
|
||||
},
|
||||
getTMDBInfo: {
|
||||
method: 'GET',
|
||||
|
||||
@@ -18,7 +18,7 @@ var path = require('path'),
|
||||
tmdb = require('moviedb')(config.meanTorrentConfig.tmdbConfig.key);
|
||||
|
||||
/**
|
||||
* Create an article
|
||||
* get movie info from tmdb
|
||||
*/
|
||||
exports.movieinfo = function (req, res) {
|
||||
console.log('------- API: movieinfo --------------------');
|
||||
|
||||
Reference in New Issue
Block a user