aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request/request-video-qadu.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-26 16:59:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 16:59:02 +0200
commitc2962505115563ad1510e8116f3b362887cac71f (patch)
tree530d930e48f45aad27b429621542a6bca1dc1b60 /server/models/request/request-video-qadu.ts
parenta265f7f30fe5f25e742c99c6d43e79dfd46bf2a9 (diff)
downloadPeerTube-c2962505115563ad1510e8116f3b362887cac71f.tar.gz
PeerTube-c2962505115563ad1510e8116f3b362887cac71f.tar.zst
PeerTube-c2962505115563ad1510e8116f3b362887cac71f.zip
Remove sequelize deprecated operators
Diffstat (limited to 'server/models/request/request-video-qadu.ts')
-rw-r--r--server/models/request/request-video-qadu.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/request/request-video-qadu.ts b/server/models/request/request-video-qadu.ts
index 9c97812b9..93cf249b3 100644
--- a/server/models/request/request-video-qadu.ts
+++ b/server/models/request/request-video-qadu.ts
@@ -101,7 +101,7 @@ listWithLimitAndRandom = function (limitPods: number, limitRequestsPerPod: numbe
101 model: RequestVideoQadu['sequelize'].models.Pod, 101 model: RequestVideoQadu['sequelize'].models.Pod,
102 where: { 102 where: {
103 id: { 103 id: {
104 $in: podIds 104 [Sequelize.Op.in]: podIds
105 } 105 }
106 } 106 }
107 }, 107 },
@@ -122,7 +122,7 @@ removeByRequestIdsAndPod = function (ids: number[], podId: number) {
122 const query = { 122 const query = {
123 where: { 123 where: {
124 id: { 124 id: {
125 $in: ids 125 [Sequelize.Op.in]: ids
126 }, 126 },
127 podId 127 podId
128 } 128 }