zahmis 4 лет назад
Родитель
Сommit
260afa9360

+ 0 - 3
packages/slackbot-proxy/src/middlewares/slack-to-growi/checkCommandPermission.ts

@@ -90,14 +90,11 @@ export class checkCommandPermissionMiddleware implements IMiddleware {
 
     const isSupportedSingle = await Promise.all(relations.map(async(relation) => {
       return this.relationsService.isSupportedGrowiCommandForSingleUse(relation, command, baseDate);
-
     }));
-
     if (isSupportedSingle.includes(true)) {
       return next();
     }
 
-
     const isSupportedBroadCast = await Promise.all(relations.map(async(relation) => {
       return this.relationsService.isSupportedGrowiCommandForBroadcastUse(relation, command, baseDate);
     }));