zahmis před 5 roky
rodič
revize
bb4cc39efe
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/server/service/bolt.js

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

@@ -86,7 +86,8 @@ class BoltService {
 
 
     // TODO check if firstArg is the supported command(like "search")
-    this.bolt.command('/growi', async({ command }) => {
+    this.bolt.command('/growi', async({ command, ack }) => {
+      await ack();
       const inputSlack = command.text.split(' ');
       const firstArg = inputSlack[0];
       const secondArg = inputSlack[1];