zahmis vor 5 Jahren
Ursprung
Commit
c054d384a6
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      src/server/service/bolt.js

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

@@ -103,7 +103,7 @@ class BoltService {
 
 
       // TODO impl try-catch
       // TODO impl try-catch
       try {
       try {
-        const result = await this.client.chat.postEphemeral({
+        await this.client.chat.postEphemeral({
           channel: this.channelId,
           channel: this.channelId,
           user: this.userId,
           user: this.userId,
           blocks: [{
           blocks: [{
@@ -114,7 +114,6 @@ class BoltService {
             },
             },
           }],
           }],
         });
         });
-        console.log(result);
       }
       }
       catch {
       catch {
         console.log('This is error');
         console.log('This is error');