Skip to content

Commit 056caa0

Browse files
fix: check at least one order is passed to prepareDatasetBulk
1 parent cc5b005 commit 056caa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/execution/order-helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ export const prepareDatasetBulk = async ({
257257
let vDatasetOrders = await array()
258258
.of(signedDatasetorderBulkSchema().stripUnknown())
259259
.required()
260+
.min(1)
260261
.label('datasetorders')
261262
.validate(datasetorders);
262263

0 commit comments

Comments
 (0)