فهرست منبع

fix lint error

Yuki Takei 1 سال پیش
والد
کامیت
e19f84ec85
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      apps/app/src/server/service/g2g-transfer.ts

+ 2 - 1
apps/app/src/server/service/g2g-transfer.ts

@@ -640,7 +640,8 @@ export class G2GTransferReceiverService implements Receiver {
       importSettingsMap: { [key: string]: ImportSettings; },
       sourceGROWIUploadConfigs: FileUploadConfigs,
   ): Promise<void> {
-    const { configManager, importService, appService } = this.crowi;
+    const { appService } = this.crowi;
+    const importService = getImportService();
     /** whether to keep current file upload configs */
     const shouldKeepUploadConfigs = configManager.getConfig('crowi', 'app:fileUploadType') !== 'none';