Chore: Evaluate Create Channel - TypeScript (#4144)

This commit is contained in:
Alex Junior 2022-05-02 15:11:41 -03:00 committed by GitHub
parent 1efd6a9a65
commit 43e9964b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import { CREATE_CHANNEL } from '../actions/actionsTypes';
interface ICreateChannelResult { interface ICreateChannelResult {
name: string; name: string;
users: string[]; users: string[];
teamId: string; teamId?: string;
type: boolean; type: boolean;
readOnly: boolean; readOnly: boolean;
encrypted: boolean; encrypted: boolean;

View File

@ -224,7 +224,7 @@ class CreateChannelView extends React.Component<ICreateChannelViewProps, ICreate
broadcast, broadcast,
encrypted, encrypted,
isTeam, isTeam,
teamId: this.teamId! teamId: this.teamId
}; };
dispatch(createChannelRequest(data)); dispatch(createChannelRequest(data));
Review.pushPositiveEvent(); Review.pushPositiveEvent();