zahmis 4 năm trước cách đây
mục cha
commit
7aafcef2f4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/slackbot-proxy/src/controllers/slack.ts

+ 2 - 2
packages/slackbot-proxy/src/controllers/slack.ts

@@ -213,8 +213,8 @@ export class SlackCtrl {
       });
       const permittedChannelsForEachCommand = relationMock?.permittedChannelsForEachCommand;
 
-      const permittedCreateCommandArray = permittedChannelsForEachCommand?.create;
-      const permittedSearchCommandArray = permittedChannelsForEachCommand?.search;
+      const permittedCreateCommandArray = permittedChannelsForEachCommand?.channelsObject.create;
+      const permittedSearchCommandArray = permittedChannelsForEachCommand?.channelsObject.search;
 
       const isCreate = permittedCreateCommandArray?.includes(body.channel_name);