Kaynağa Gözat

fix fb: error log

zahmis 4 yıl önce
ebeveyn
işleme
adf76e240c

+ 1 - 1
packages/slack/src/utils/check-communicable.ts

@@ -49,7 +49,7 @@ const checkSlackScopes = (resultTestSlackApiServer: any) => {
   const isPassedScopeCheck = correctScopes.every(e => slackScopes.includes(e));
   const isPassedScopeCheck = correctScopes.every(e => slackScopes.includes(e));
 
 
   if (!isPassedScopeCheck) {
   if (!isPassedScopeCheck) {
-    throw new Error('The scopes is not appropriate. Required scopes is [Rcommands], [team:read], and [chat:write].');
+    throw new Error('The scopes is not appropriate. Required scopes is [\'commands\', \'team:read\', \'chat:write\']');
   }
   }
 };
 };