itizawa 5 лет назад
Родитель
Сommit
4ccbf7cd95
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/server/routes/apiv3/pages.js

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

@@ -24,9 +24,8 @@ module.exports = (crowi) => {
   const PageTagRelation = crowi.model('PageTagRelation');
   const PageTagRelation = crowi.model('PageTagRelation');
   const GlobalNotificationSetting = crowi.model('GlobalNotificationSetting');
   const GlobalNotificationSetting = crowi.model('GlobalNotificationSetting');
 
 
-  const pageService = crowi.pageService;
   const globalNotificationService = crowi.getGlobalNotificationService();
   const globalNotificationService = crowi.getGlobalNotificationService();
-  const { slackNotificationService } = crowi;
+  const { pageService, slackNotificationService } = crowi;
 
 
   // user notification
   // user notification
   // TODO GW-3387 create '/service/user-notification' module
   // TODO GW-3387 create '/service/user-notification' module