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:
@@ -2678,7 +2678,6 @@ export default class OrderModuleService<
|
||||
: transactionData.order_id,
|
||||
},
|
||||
{
|
||||
take: null,
|
||||
select: ["id", "version"],
|
||||
},
|
||||
sharedContext
|
||||
@@ -2726,7 +2725,6 @@ export default class OrderModuleService<
|
||||
},
|
||||
{
|
||||
select: ["order_id", "version", "amount"],
|
||||
take: null,
|
||||
},
|
||||
sharedContext
|
||||
)
|
||||
@@ -2752,7 +2750,6 @@ export default class OrderModuleService<
|
||||
id: transactionIds,
|
||||
},
|
||||
{
|
||||
take: null,
|
||||
select: ["order_id", "amount"],
|
||||
},
|
||||
sharedContext
|
||||
@@ -2787,7 +2784,6 @@ export default class OrderModuleService<
|
||||
{
|
||||
select: ["order_id", "amount"],
|
||||
withDeleted: true,
|
||||
take: null,
|
||||
},
|
||||
sharedContext
|
||||
)
|
||||
@@ -2820,7 +2816,7 @@ export default class OrderModuleService<
|
||||
{
|
||||
order_id: transactionData.map((trx) => trx.order_id),
|
||||
},
|
||||
{ take: null },
|
||||
{},
|
||||
sharedContext
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user