chore(): Remove default limit from the build query (#9257)

* chore(): Remove default limit from the build query

* rm take: null

* fix tests

* fix tests

* fix db usage

* fix typo

* rm unsused template arg

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
This commit is contained in:
Adrien de Peretti
2024-09-24 16:06:45 +02:00
committed by GitHub
parent 9e711720dd
commit 90d530565b
41 changed files with 549 additions and 224 deletions

View File

@@ -79,7 +79,7 @@ export class ApiKeyModuleService
{ revoked_at: { $gt: new Date() } },
],
},
{ take: null, select: ["id"] },
{ select: ["id"] },
sharedContext
)
).map((apiKey) => apiKey.id)
@@ -445,7 +445,7 @@ export class ApiKeyModuleService
{ revoked_at: { $gt: new Date() } },
],
},
{ take: null },
{},
sharedContext
)
@@ -500,7 +500,7 @@ export class ApiKeyModuleService
{ revoked_at: { $gt: new Date() } },
],
},
{ take: null },
{},
sharedContext
)