Просмотр исходного кода

Merge pull request #3941 from weseek/feat/return-message-indicating-the-link-removed

Feat/return message indicating the link removed
Sizma yosimaz 4 лет назад
Родитель
Сommit
0715076e8c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/server/routes/apiv3/slack-integration.js

+ 3 - 1
src/server/routes/apiv3/slack-integration.js

@@ -33,7 +33,9 @@ module.exports = (crowi) => {
 
     if (slackAppIntegrationCount === 0) {
       return res.status(403).send({
-        message: 'The access token that identifies the request source is slackbot-proxy is invalid. Did you setup with `/growi register`?',
+        message: 'The access token that identifies the request source is slackbot-proxy is invalid. Did you setup with `/growi register`.\n'
+        + 'Or did you delete registration for GROWI ? if so, the link with GROWI has been disconnected. '
+        + 'Please unregister the information registered in the proxy and setup `/growi register` again.',
       });
     }