zahmis 4 år sedan
förälder
incheckning
3e5437451c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      packages/slackbot-proxy/src/services/RelationsService.ts

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

@@ -116,10 +116,10 @@ export class RelationsService {
   async checkPermissionForInteractions(
       relations:Relation[], actionId:string, callbackId:string, channelName:string,
   ):Promise<checkPermissionForInteractionsResults> {
-    return this.checkEachRelation(relations, actionId, callbackId, channelName);
+    return this.relationsResult(relations, actionId, callbackId, channelName);
   }
 
-  async checkEachRelation(
+  async relationsResult(
       relations:Relation[], actionId:string, callbackId:string, channelName:string,
   ):Promise<checkPermissionForInteractionsResults> {