zahmis 4 years ago
parent
commit
f0ca30b1c1
1 changed files with 1 additions and 2 deletions
  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);
     const syncedRelation = await this.syncRelation(relation, baseDate);
     let isPermittedForInteractions = false;
     let isPermittedForInteractions = false;
 
 
-
     if (syncedRelation == null) {
     if (syncedRelation == null) {
       isPermittedForInteractions = false;
       isPermittedForInteractions = false;
       return;
       return;
@@ -165,7 +164,7 @@ export class RelationsService {
       // ex. search OR search:handlerName
       // ex. search OR search:handlerName
       const commandRegExp = new RegExp(`(^${commandName}$)|(^${commandName}:\\w+)`);
       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)) {
       if (!commandRegExp.test(actionId) && !commandRegExp.test(callbackId)) {
         return;
         return;
       }
       }