diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-18 11:07:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-18 13:38:09 +0100 |
commit | b3d5cb92b100406df98e5cd1f54eff9cd2078b1c (patch) | |
tree | 234c9b0b799424c1599af0dee27e84e4ad7240ff /server/models | |
parent | d9a2a03196275065c28f4a0b7d4d7bc9992d77a1 (diff) | |
download | PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.gz PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.zst PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.zip |
Add ability to update torrents cache in client
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/server/tracker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/server/tracker.ts b/server/models/server/tracker.ts index d7c91faad..97520f92d 100644 --- a/server/models/server/tracker.ts +++ b/server/models/server/tracker.ts | |||
@@ -36,7 +36,7 @@ export class TrackerModel extends Model { | |||
36 | const query = { | 36 | const query = { |
37 | include: [ | 37 | include: [ |
38 | { | 38 | { |
39 | attributes: [ 'id', 'trackerId' ], | 39 | attributes: [ 'id' ], |
40 | model: VideoModel.unscoped(), | 40 | model: VideoModel.unscoped(), |
41 | required: true, | 41 | required: true, |
42 | where: { id: videoId } | 42 | where: { id: videoId } |