Răsfoiți Sursa

delete console

zahmis 5 ani în urmă
părinte
comite
c054d384a6
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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
       try {
-        const result = await this.client.chat.postEphemeral({
+        await this.client.chat.postEphemeral({
           channel: this.channelId,
           user: this.userId,
           blocks: [{
@@ -114,7 +114,6 @@ class BoltService {
             },
           }],
         });
-        console.log(result);
       }
       catch {
         console.log('This is error');