Skip to content

Commit 05c00c0

Browse files
author
Hans Kristian Flaatten
committed
fix(admin): correctly fetch new limits requests
1 parent 25341af commit 05c00c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/admin/controller.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ route.get('/limits', (req, res, next) => {
4141
apps: {
4242
$elemMatch: {
4343
$or: [
44-
{ prodRequest: { $exists: true } },
45-
{ devRequest: { $exists: true } },
44+
{ 'limit.prodRequest': { $exists: true } },
45+
{ 'limit.devRequest': { $exists: true } },
4646
],
4747
},
4848
},

0 commit comments

Comments
 (0)