Explorar o código

fix integration test

Yuki Takei %!s(int64=2) %!d(string=hai) anos
pai
achega
8412c3d71d
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      apps/app/src/server/service/page/index.ts

+ 0 - 2
apps/app/src/server/service/page/index.ts

@@ -2158,7 +2158,6 @@ class PageService implements IPageService {
      * Common Operation
      * Common Operation
      */
      */
     const Page = this.crowi.model('Page');
     const Page = this.crowi.model('Page');
-    const PageTagRelation = this.crowi.model('PageTagRelation');
 
 
     const parameters = {
     const parameters = {
       ip: activityParameters.ip,
       ip: activityParameters.ip,
@@ -2318,7 +2317,6 @@ class PageService implements IPageService {
 
 
   private async revertDeletedPageV4(page, user, options = {}, isRecursively = false) {
   private async revertDeletedPageV4(page, user, options = {}, isRecursively = false) {
     const Page = this.crowi.model('Page');
     const Page = this.crowi.model('Page');
-    const PageTagRelation = this.crowi.model('PageTagRelation');
 
 
     const newPath = Page.getRevertDeletedPageName(page.path);
     const newPath = Page.getRevertDeletedPageName(page.path);
     const originPage = await Page.findByPath(newPath);
     const originPage = await Page.findByPath(newPath);