Browse Source

fix variable

zahmis 4 years ago
parent
commit
7d39f2016f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/slackbot-proxy/src/entities/relation-mock.ts

+ 2 - 2
packages/slackbot-proxy/src/entities/relation-mock.ts

@@ -10,7 +10,7 @@ import { Installation } from './installation';
 //     create: ['srv', 'admin'],
 //     create: ['srv', 'admin'],
 //     search: ['admin'],
 //     search: ['admin'],
 //   }
 //   }
-interface PermittedChannels {
+interface PermittedChannelsForEachCommand {
   commandToChannelMap: { [command: string]: string[] };
   commandToChannelMap: { [command: string]: string[] };
 }
 }
 
 
@@ -48,7 +48,7 @@ export class RelationMock {
   supportedCommandsForSingleUse: string[];
   supportedCommandsForSingleUse: string[];
 
 
   @Column({ type: 'json' })
   @Column({ type: 'json' })
-  permittedChannels: PermittedChannels
+  permittedChannelsForEachCommand : PermittedChannelsForEachCommand
 
 
   @CreateDateColumn()
   @CreateDateColumn()
   expiredAtCommands: Date;
   expiredAtCommands: Date;