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 committed by Sean Yesmunt
parent 9009708fff
commit 09a6b6ce17

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) => {