Forces the channel
param to always be present, and not return a null channel.
This commit is contained in:
parent
6f9ee589a7
commit
916e5d0efa
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue