From 916e5d0efa802ad01370f0d189a2ecbdcea3ef7d Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Tue, 25 Feb 2020 08:51:18 -0500 Subject: [PATCH] Forces the `channel` param to always be present, and not return a null channel. --- src/redux/actions/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/actions/comments.js b/src/redux/actions/comments.js index 0bcb8cb..a150a88 100644 --- a/src/redux/actions/comments.js +++ b/src/redux/actions/comments.js @@ -42,7 +42,7 @@ export function doCommentList(uri: string, page: number = 1, pageSize: number = export function doCommentCreate( comment: string = '', claim_id: string = '', - channel: ?string, + channel: string, parent_id?: string ) { return (dispatch: Dispatch, getState: GetState) => {