jam411 3 лет назад
Родитель
Сommit
7ef47e6e2e

+ 2 - 2
packages/app/src/server/crowi/index.js

@@ -702,8 +702,8 @@ Crowi.prototype.setupPluginService = async function() {
   if (this.pluginService == null) {
     this.pluginService = new PluginService(this);
   }
-  // reinstall the plugins, if document exists but there is no repository
-  await this.pluginService.reintallNotExistPluginRepositories();
+  // download the plugins repositories, if document exists but there is no repository
+  await this.pluginService.downloadNotExistPluginRepositories();
 };
 
 Crowi.prototype.setupPageService = async function() {

+ 1 - 1
packages/app/src/server/service/plugin.ts

@@ -43,7 +43,7 @@ export interface IPluginService {
 
 export class PluginService implements IPluginService {
 
-  async reintallNotExistPluginRepositories(): Promise<void> {
+  async downloadNotExistPluginRepositories(): Promise<void> {
     try {
       // check all growi plugin documents
       const GrowiPlugin = mongoose.model<GrowiPlugin>('GrowiPlugin');