mirror of https://github.com/status-im/codimd.git
Update route of list-my-notes api
Signed-off-by: James Tsai <jamesscamel@gmail.com>
This commit is contained in:
parent
f0faaa58d6
commit
dcf48e749e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue