Update route of list-my-notes api

Signed-off-by: James Tsai <jamesscamel@gmail.com>
This commit is contained in:
James Tsai 2020-07-14 15:27:04 +08:00
parent f0faaa58d6
commit dcf48e749e
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ appRouter.get('/p/:shortid', response.showPublishSlide)
// publish slide actions // publish slide actions
appRouter.get('/p/:shortid/:action', response.publishSlideActions) appRouter.get('/p/:shortid/:action', response.publishSlideActions)
// gey my note list // gey my note list
appRouter.get('/myNotes', noteController.listMyNotes) appRouter.get('/api/notes/myNotes', noteController.listMyNotes)
// get note by id // get note by id
appRouter.get('/:noteId', wrap(noteController.showNote)) appRouter.get('/:noteId', wrap(noteController.showNote))
// note actions // note actions