takeru0001 hace 5 años
padre
commit
bfd8401a28
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/server/routes/apiv3/pages.js

+ 1 - 2
src/server/routes/apiv3/pages.js

@@ -89,8 +89,7 @@ module.exports = (crowi) => {
   router.get('/list', accessTokenParser, loginRequired, async(req, res) => {
   router.get('/list', accessTokenParser, loginRequired, async(req, res) => {
     const { path } = req.query;
     const { path } = req.query;
     try {
     try {
-      const result = await Page.findListWithDescendants(path, req.user, { limit: 8, offset: 0 });
-      console.log(result);
+      const result = await Page.findListWithDescendants(path, req.user, { limit:, offset});
 
 
       return res.apiv3(result);
       return res.apiv3(result);
     }
     }