Răsfoiți Sursa

remove console.log

Shun Miyazawa 3 ani în urmă
părinte
comite
f64a7ffb4c
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      packages/app/src/server/routes/apiv3/page.js

+ 0 - 3
packages/app/src/server/routes/apiv3/page.js

@@ -472,9 +472,6 @@ module.exports = (crowi) => {
   router.get('/exist-paths', loginRequired, validator.exist, apiV3FormValidator, async(req, res) => {
   router.get('/exist-paths', loginRequired, validator.exist, apiV3FormValidator, async(req, res) => {
     const { fromPath, toPath } = req.query;
     const { fromPath, toPath } = req.query;
 
 
-    console.log('fromPath', fromPath);
-    console.log('toPath', toPath);
-
     try {
     try {
       const fromPage = await Page.findByPath(fromPath);
       const fromPage = await Page.findByPath(fromPath);
       if (fromPage == null) throw new Error('fromPage is Null');
       if (fromPage == null) throw new Error('fromPage is Null');