Explorar o código

Uncomment page.test.js

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
396795ccde
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/app/src/server/service/page.ts

+ 2 - 1
packages/app/src/server/service/page.ts

@@ -196,7 +196,6 @@ class PageService {
   async renamePage(page, newPagePath, user, options, isRecursively = false) {
     // v4 compatible process
     const isV5Compatible = this.crowi.configManager.getConfig('crowi', 'app:isV5Compatible');
-    console.log('よばれた', isV5Compatible);
     if (!isV5Compatible) {
       return this.renamePageV4(page, newPagePath, user, options, isRecursively);
     }
@@ -268,6 +267,8 @@ class PageService {
 
   private async renamePageV4(page, newPagePath, user, options, isRecursively = false) {
 
+    console.log('かもーん', page, newPagePath, user, options, isRecursively);
+
     const Page = this.crowi.model('Page');
     const Revision = this.crowi.model('Revision');
     const path = page.path;