takeru0001 %!s(int64=5) %!d(string=hai) anos
pai
achega
bfd8401a28
Modificáronse 1 ficheiros con 1 adicións e 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) => {
     const { path } = req.query;
     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);
     }