zahmis 5 년 전
부모
커밋
bb4cc39efe
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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];