zahmis hace 5 años
padre
commit
c247a30dec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/server/service/bolt.js

+ 2 - 2
src/server/service/bolt.js

@@ -55,11 +55,11 @@ class BoltService {
         signingSecret,
         receiver: this.receiver,
       });
-      this.searchResult();
+      this.init();
     }
   }
 
-  async searchResult() {
+  async init() {
     // See. https://github.com/slackapi/bolt-js#listening-for-events
     // or https://slack.dev/bolt-js/concepts#basic
     this.bolt.command('/growi-bot', async({ command, ack, say }) => { // demo