Explorar el Código

fix prepareSlackMessageForComment

Yuki Takei hace 4 años
padre
commit
c5d81c84b1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/server/util/slack.js

+ 1 - 1
packages/app/src/server/util/slack.js

@@ -134,7 +134,7 @@ export const prepareSlackMessageForComment = (comment, user, appTitle, siteUrl,
     channel: (channel != null) ? `#${channel}` : undefined,
     username: appTitle,
     text,
-    attachments: JSON.stringify([attachment]),
+    attachments: [attachment],
   };
 
   return message;