fix(torrents): fixed torrent review in detail page issue

This commit is contained in:
OldHawk
2018-05-16 16:52:35 +08:00
parent 5c3efce9cd
commit b9a4d8f56a

View File

@@ -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) {