spilt torrent info function from torrent controller

This commit is contained in:
OldHawk
2017-04-21 18:29:56 +08:00
parent 1855fb52de
commit 0f64cfa6df
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
torrentId: '@_torrentId'
}, {
update: {
method: 'POST'
method: 'PUT'
},
getTMDBInfo: {
method: 'GET',

View File

@@ -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 --------------------');