Skip to content

Commit

Permalink
Add features
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-weber committed Nov 25, 2024
1 parent c065fe2 commit 851fb76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 851fb76

Please sign in to comment.