Browse Source

remove await in afterInit

yohei0125 4 năm trước cách đây
mục cha
commit
5db695747b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
   }
 };