From dcf48e749e2710840c05da80fec1750735c2f5ba Mon Sep 17 00:00:00 2001 From: James Tsai Date: Tue, 14 Jul 2020 15:27:04 +0800 Subject: [PATCH] Update route of list-my-notes api Signed-off-by: James Tsai --- lib/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes.js b/lib/routes.js index a6f1cc3e..48ac61f3 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -71,7 +71,7 @@ appRouter.get('/p/:shortid', response.showPublishSlide) // publish slide actions appRouter.get('/p/:shortid/:action', response.publishSlideActions) // gey my note list -appRouter.get('/myNotes', noteController.listMyNotes) +appRouter.get('/api/notes/myNotes', noteController.listMyNotes) // get note by id appRouter.get('/:noteId', wrap(noteController.showNote)) // note actions