|
@@ -213,11 +213,11 @@ export class SlackCtrl {
|
|
|
});
|
|
});
|
|
|
const permittedChannelsForEachCommand = relationMock?.permittedChannelsForEachCommand;
|
|
const permittedChannelsForEachCommand = relationMock?.permittedChannelsForEachCommand;
|
|
|
|
|
|
|
|
- const canCreateArray = permittedChannelsForEachCommand?.create;
|
|
|
|
|
- const canSearchArray = permittedChannelsForEachCommand?.search;
|
|
|
|
|
|
|
+ const permittedCreateCommandArray = permittedChannelsForEachCommand?.create;
|
|
|
|
|
+ const permittedSearchCommandArray = permittedChannelsForEachCommand?.search;
|
|
|
|
|
|
|
|
|
|
|
|
|
- const isCreate = canCreateArray?.includes(body.channel_name);
|
|
|
|
|
|
|
+ const isCreate = permittedCreateCommandArray?.includes(body.channel_name);
|
|
|
if (isCreate) {
|
|
if (isCreate) {
|
|
|
console.log('isCreate 内部');
|
|
console.log('isCreate 内部');
|
|
|
const relationsForBroadcastUse:RelationMock[] = [];
|
|
const relationsForBroadcastUse:RelationMock[] = [];
|