Просмотр исходного кода

refs 124384: fix ExternalAccountService import

Futa Arai 2 лет назад
Родитель
Сommit
f2dbdac27a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/server/crowi/index.js

+ 1 - 1
apps/app/src/server/crowi/index.js

@@ -26,6 +26,7 @@ import { aclService as aclServiceSingletonInstance } from '../service/acl';
 import AppService from '../service/app';
 import AppService from '../service/app';
 import AttachmentService from '../service/attachment';
 import AttachmentService from '../service/attachment';
 import { configManager as configManagerSingletonInstance } from '../service/config-manager';
 import { configManager as configManagerSingletonInstance } from '../service/config-manager';
+import ExternalAccountService from '../service/external-account';
 import { G2GTransferPusherService, G2GTransferReceiverService } from '../service/g2g-transfer';
 import { G2GTransferPusherService, G2GTransferReceiverService } from '../service/g2g-transfer';
 import { InstallerService } from '../service/installer';
 import { InstallerService } from '../service/installer';
 import PageService from '../service/page';
 import PageService from '../service/page';
@@ -783,7 +784,6 @@ Crowi.prototype.setupG2GTransferService = async function() {
 };
 };
 
 
 Crowi.prototype.setupExternalAccountService = function() {
 Crowi.prototype.setupExternalAccountService = function() {
-  const ExternalAccountService = require('../service/external-account');
   if (this.externalAccountService == null) {
   if (this.externalAccountService == null) {
     this.externalAccountService = new ExternalAccountService(this);
     this.externalAccountService = new ExternalAccountService(this);
   }
   }