Forces the channel param to always be present, and not return a null channel.

This commit is contained in:
Oleg Silkin 2020-02-25 08:51:18 -05:00
parent 6f9ee589a7
commit 916e5d0efa

View file

@ -42,7 +42,7 @@ export function doCommentList(uri: string, page: number = 1, pageSize: number =
export function doCommentCreate( export function doCommentCreate(
comment: string = '', comment: string = '',
claim_id: string = '', claim_id: string = '',
channel: ?string, channel: string,
parent_id?: string parent_id?: string
) { ) {
return (dispatch: Dispatch, getState: GetState) => { return (dispatch: Dispatch, getState: GetState) => {