From b9a4d8f56a5c978eb45cc5822f4f14fb34e734df Mon Sep 17 00:00:00 2001 From: OldHawk Date: Wed, 16 May 2018 16:52:35 +0800 Subject: [PATCH] fix(torrents): fixed torrent review in detail page issue --- .../client/controllers/torrent-info.client.controller.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/torrents/client/controllers/torrent-info.client.controller.js b/modules/torrents/client/controllers/torrent-info.client.controller.js index 0c910814..ce1d9006 100644 --- a/modules/torrents/client/controllers/torrent-info.client.controller.js +++ b/modules/torrents/client/controllers/torrent-info.client.controller.js @@ -152,8 +152,9 @@ * @param item */ vm.reviewedTorrentStatus = function () { - vm.torrentLocalInfo.$setReviewedStatus(function (res) { - mtDebug.info(res); + TorrentsService.setReviewedStatus({ + _torrentId: vm.torrentLocalInfo._id + }, function (res) { vm.torrentLocalInfo = res; NotifycationService.showSuccessNotify('TORRENT_SETREVIEWED_SUCCESSFULLY'); }, function (res) {