Jelajahi Sumber

revert function declaration

Yuki Takei 1 tahun lalu
induk
melakukan
218337a380
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      apps/app/src/server/crowi/index.js

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

@@ -321,7 +321,7 @@ Crowi.prototype.setupSocketIoService = async function() {
   this.socketIoService = new SocketIoService(this);
   this.socketIoService = new SocketIoService(this);
 };
 };
 
 
-Crowi.prototype.setupCron = async function() {
+Crowi.prototype.setupCron = function() {
   this.questionnaireCronService = new QuestionnaireCronService(this);
   this.questionnaireCronService = new QuestionnaireCronService(this);
   this.questionnaireCronService.startCron();
   this.questionnaireCronService.startCron();