diff --git a/src/services/new/collection/move-collections-list.ts b/src/services/new/collection/move-collections-list.ts index 72f1e39c..ab53e59c 100644 --- a/src/services/new/collection/move-collections-list.ts +++ b/src/services/new/collection/move-collections-list.ts @@ -23,7 +23,7 @@ const validateArgs = makeSchemaValidator({ items: {type: 'string'}, }, parentId: { - type: 'string', + type: ['string', 'null'], }, }, }); diff --git a/src/services/new/workbook/move-workbooks-list.ts b/src/services/new/workbook/move-workbooks-list.ts index 9b9474b9..1e5c73b0 100644 --- a/src/services/new/workbook/move-workbooks-list.ts +++ b/src/services/new/workbook/move-workbooks-list.ts @@ -23,7 +23,7 @@ const validateArgs = makeSchemaValidator({ items: {type: 'string'}, }, collectionId: { - type: 'string', + type: ['string', 'null'], }, }, });