Chore: Evaluate Create Channel - TypeScript (#4144)
This commit is contained in:
parent
1efd6a9a65
commit
43e9964b7b
|
@ -4,7 +4,7 @@ import { CREATE_CHANNEL } from '../actions/actionsTypes';
|
|||
interface ICreateChannelResult {
|
||||
name: string;
|
||||
users: string[];
|
||||
teamId: string;
|
||||
teamId?: string;
|
||||
type: boolean;
|
||||
readOnly: boolean;
|
||||
encrypted: boolean;
|
||||
|
|
|
@ -224,7 +224,7 @@ class CreateChannelView extends React.Component<ICreateChannelViewProps, ICreate
|
|||
broadcast,
|
||||
encrypted,
|
||||
isTeam,
|
||||
teamId: this.teamId!
|
||||
teamId: this.teamId
|
||||
};
|
||||
dispatch(createChannelRequest(data));
|
||||
Review.pushPositiveEvent();
|
||||
|
|
Loading…
Reference in New Issue