Skip to content

Commit

Permalink
Fix routes for mass move collections and workbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-weber committed Dec 5, 2023
1 parent 389d71c commit 8d85966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export function getRoutes(nodekit: NodeKit, options: GetRoutesOptions) {
write: true,
}),
moveWorkbooks: makeRoute({
route: 'POST /v2/move-workbooks',
route: 'POST /v2/workbooks/move-workbooks',
handler: workbooksController.moveList,
write: true,
}),
Expand Down Expand Up @@ -385,7 +385,7 @@ export function getRoutes(nodekit: NodeKit, options: GetRoutesOptions) {
write: true,
}),
moveCollections: makeRoute({
route: 'POST /v1/move-collections',
route: 'POST /v1/collections/move-collections',
handler: collectionsController.moveList,
write: true,
}),
Expand Down

0 comments on commit 8d85966

Please sign in to comment.