Yuki Takei 1 год назад
Родитель
Сommit
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';