aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request/request-to-pod.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-to-pod.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-to-pod.ts')
-rw-r--r--server/models/request/request-to-pod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/request/request-to-pod.ts b/server/models/request/request-to-pod.ts
index 6678ed290..4e14e918b 100644
--- a/server/models/request/request-to-pod.ts
+++ b/server/models/request/request-to-pod.ts
@@ -41,7 +41,7 @@ removeByRequestIdsAndPod = function (requestsIds: number[], podId: number) {
41 const query = { 41 const query = {
42 where: { 42 where: {
43 requestId: { 43 requestId: {
44 $in: requestsIds 44 [Sequelize.Op.in]: requestsIds
45 }, 45 },
46 podId: podId 46 podId: podId
47 } 47 }