zahmis 4 лет назад
Родитель
Сommit
f0ca30b1c1
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/slackbot-proxy/src/services/RelationsService.ts

+ 1 - 2
packages/slackbot-proxy/src/services/RelationsService.ts

@@ -131,7 +131,6 @@ export class RelationsService {
     const syncedRelation = await this.syncRelation(relation, baseDate);
     let isPermittedForInteractions = false;
 
-
     if (syncedRelation == null) {
       isPermittedForInteractions = false;
       return;
@@ -165,7 +164,7 @@ export class RelationsService {
       // ex. search OR search:handlerName
       const commandRegExp = new RegExp(`(^${commandName}$)|(^${commandName}:\\w+)`);
 
-      // skip this forEach loop if the requested command is not in permissionsForBroadcastUseCommands and permissionsForSingleUseCommandskey
+      // skip this forEach loop if the requested command is not in permissionsForBroadcastUseCommands and permissionsForSingleUseCommands
       if (!commandRegExp.test(actionId) && !commandRegExp.test(callbackId)) {
         return;
       }