diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-18 11:17:35 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-18 11:21:50 +0100 |
commit | 57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c (patch) | |
tree | fcf12670d643ec4a3b5eccdfa834227c0417d988 /server/controllers/api/search | |
parent | 2e3f7a5a6fbae276d3ba1cb1b08289917ec7604b (diff) | |
download | PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.tar.gz PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.tar.zst PeerTube-57e4e1c1a95c3a81a967f54ecc2a510d8b0e129c.zip |
Don't store remote rates of remote videos
In the future we'll stop to expose all available rates to improve users
privacy
Diffstat (limited to 'server/controllers/api/search')
-rw-r--r-- | server/controllers/api/search/search-videos.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/controllers/api/search/search-videos.ts b/server/controllers/api/search/search-videos.ts index 68428d766..1d7a7b7bc 100644 --- a/server/controllers/api/search/search-videos.ts +++ b/server/controllers/api/search/search-videos.ts | |||
@@ -134,8 +134,7 @@ async function searchVideoURI (url: string, res: express.Response) { | |||
134 | if (isUserAbleToSearchRemoteURI(res)) { | 134 | if (isUserAbleToSearchRemoteURI(res)) { |
135 | try { | 135 | try { |
136 | const syncParam = { | 136 | const syncParam = { |
137 | likes: false, | 137 | rates: false, |
138 | dislikes: false, | ||
139 | shares: false, | 138 | shares: false, |
140 | comments: false, | 139 | comments: false, |
141 | thumbnail: true, | 140 | thumbnail: true, |