|
@@ -284,12 +284,8 @@ module.exports = (crowi) => {
|
|
|
try {
|
|
try {
|
|
|
this.client.chat.postMessage({
|
|
this.client.chat.postMessage({
|
|
|
channel: '#general',
|
|
channel: '#general',
|
|
|
- blocks: [{
|
|
|
|
|
- type: 'section',
|
|
|
|
|
- text: {
|
|
|
|
|
- type: 'mrkdwn',
|
|
|
|
|
- },
|
|
|
|
|
- }],
|
|
|
|
|
|
|
+ text: 'Your test was successful!',
|
|
|
|
|
+
|
|
|
});
|
|
});
|
|
|
console.log(slackBotToken);
|
|
console.log(slackBotToken);
|
|
|
return res.apiv3({ slackBotToken });
|
|
return res.apiv3({ slackBotToken });
|