Ver Fonte

remove await in afterInit

yohei0125 há 4 anos atrás
pai
commit
5db695747b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/app/src/server/crowi/index.js

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

@@ -152,7 +152,7 @@ Crowi.prototype.init = async function() {
 
 Crowi.prototype.afterInit = async function() {
   if (this.pageOperationService != null) {
-    await this.pageOperationService.onAfterInit();
+    this.pageOperationService.onAfterInit();
   }
 };