From fe355bcd3828851fab36e295b755183d36ea80f8 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Thu, 7 Sep 2017 11:19:44 +0800 Subject: [PATCH] feat(torrent): add doScrape for admin pannel to manual scrape torrent status --- .../client/controllers/torrent-info.client.controller.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/torrents/client/controllers/torrent-info.client.controller.js b/modules/torrents/client/controllers/torrent-info.client.controller.js index d09dfbd1..d4df565d 100644 --- a/modules/torrents/client/controllers/torrent-info.client.controller.js +++ b/modules/torrents/client/controllers/torrent-info.client.controller.js @@ -135,6 +135,13 @@ console.log(vm.torrentLocalInfo); }; + /** + * doScrape + */ + vm.doScrape = function(){ + ScrapeService.scrapeTorrent(vm.torrentLocalInfo); + }; + /** * initTabLists */