aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request/request.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/request/request.ts')
-rw-r--r--server/models/request/request.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/request/request.ts b/server/models/request/request.ts
index b4c0226fa..71118a947 100644
--- a/server/models/request/request.ts
+++ b/server/models/request/request.ts
@@ -88,7 +88,7 @@ listWithLimitAndRandom = function (limitPods: number, limitRequestsPerPod: numbe
88 model: Request['sequelize'].models.Pod, 88 model: Request['sequelize'].models.Pod,
89 where: { 89 where: {
90 id: { 90 id: {
91 $in: podIds 91 [Sequelize.Op.in]: podIds
92 } 92 }
93 } 93 }
94 } 94 }
@@ -112,7 +112,7 @@ removeWithEmptyTo = function () {
112 const query = { 112 const query = {
113 where: { 113 where: {
114 id: { 114 id: {
115 $notIn: [ 115 [Sequelize.Op.notIn]: [
116 Sequelize.literal('SELECT "requestId" FROM "RequestToPods"') 116 Sequelize.literal('SELECT "requestId" FROM "RequestToPods"')
117 ] 117 ]
118 } 118 }