ryuichi-e пре 5 година
родитељ
комит
f2fdf0d3cf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/server/routes/apiv3/bookmarks.js

+ 1 - 1
src/server/routes/apiv3/bookmarks.js

@@ -105,7 +105,7 @@ module.exports = (crowi) => {
 
   // select page from bookmark where userid = userid
 
-  router.get('/userId', /* accessTokenParser, loginRequired, csrf, */ apiV3FormValidator, async(req, res) => {
+  router.get('/:userId', /* accessTokenParser, loginRequired, csrf, */ apiV3FormValidator, async(req, res) => {
     const { userId } = req.query;
     try {
       const bookmark = await Bookmark