diff --git a/src/routes.ts b/src/routes.ts index 72675d64..5e72c85b 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -299,6 +299,7 @@ export function getRoutes(_nodekit: NodeKit, options: GetRoutesOptions) { getWorkbooksListByIds: makeRoute({ route: 'POST /v2/workbooks-get-list-by-ids', handler: workbooksController.getWorkbooksListByIds, + features: [Feature.CollectionsEnabled], }), updateWorkbook: makeRoute({ route: 'POST /v2/workbooks/:workbookId/update', @@ -411,6 +412,7 @@ export function getRoutes(_nodekit: NodeKit, options: GetRoutesOptions) { getCollectionsListByIds: makeRoute({ route: 'POST /v1/collections-get-list-by-ids', handler: collectionsController.getCollectionsListByIds, + features: [Feature.CollectionsEnabled], }), getCollectionContent: makeRoute({ route: 'GET /v1/collection-content',