zahmis %!s(int64=4) %!d(string=hai) anos
pai
achega
f0ca30b1c1
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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;
       }