From 703003cd16e37844a18da28420b06363e01c9f1b Mon Sep 17 00:00:00 2001 From: OldHawk Date: Thu, 21 Sep 2017 12:37:28 +0800 Subject: [PATCH] feat(torrents): add torrent_vip method of client side --- .../torrents/client/services/torrents.client.service.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/torrents/client/services/torrents.client.service.js b/modules/torrents/client/services/torrents.client.service.js index 836bb76d..7024a28c 100644 --- a/modules/torrents/client/services/torrents.client.service.js +++ b/modules/torrents/client/services/torrents.client.service.js @@ -61,6 +61,13 @@ torrentId: '@_id' } }, + toggleVIPStatus: { + method: 'PUT', + url: '/api/torrents/:torrentId/toggleVIPStatus', + params: { + torrentId: '@_id' + } + }, thumbsUp: { method: 'PUT', url: '/api/torrents/:torrentId/thumbsUp',