diff options
Diffstat (limited to 'server/models/request/request-video-qadu.ts')
-rw-r--r-- | server/models/request/request-video-qadu.ts | 4 |
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 | } |