diff options
Diffstat (limited to 'server/models/request/request-video-event.ts')
-rw-r--r-- | server/models/request/request-video-event.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/request/request-video-event.ts b/server/models/request/request-video-event.ts index d7dce9bc8..8954407e1 100644 --- a/server/models/request/request-video-event.ts +++ b/server/models/request/request-video-event.ts | |||
@@ -111,7 +111,7 @@ listWithLimitAndRandom = function (limitPods: number, limitRequestsPerPod: numbe | |||
111 | model: RequestVideoEvent['sequelize'].models.Pod, | 111 | model: RequestVideoEvent['sequelize'].models.Pod, |
112 | where: { | 112 | where: { |
113 | id: { | 113 | id: { |
114 | $in: podIds | 114 | [Sequelize.Op.in]: podIds |
115 | } | 115 | } |
116 | } | 116 | } |
117 | } | 117 | } |
@@ -135,7 +135,7 @@ removeByRequestIdsAndPod = function (ids: number[], podId: number) { | |||
135 | const query = { | 135 | const query = { |
136 | where: { | 136 | where: { |
137 | id: { | 137 | id: { |
138 | $in: ids | 138 | [Sequelize.Op.in]: ids |
139 | } | 139 | } |
140 | }, | 140 | }, |
141 | include: [ | 141 | include: [ |