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

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

@@ -11,7 +11,7 @@ import loggerFactory from '~/utils/logger';
 
 const logger = loggerFactory('slackbot-proxy:services:RelationsService');
 
-type checkPermissionForInteractions = {
+type checkPermissionForInteractionsResults = {
   allowedRelations:Relation[],
   disallowedGrowiUrls:Set<string>,
   notAllowedCommandName:string,
@@ -115,7 +115,7 @@ export class RelationsService {
 
   async checkPermissionForInteractions(
       relations:Relation[], actionId:string, callbackId:string, channelName:string,
-  ):Promise<checkPermissionForInteractions> {
+  ):Promise<checkPermissionForInteractionsResults> {
 
     const allowedRelations:Relation[] = [];
     const disallowedGrowiUrls:Set<string> = new Set();