diff --git a/dist/bundle.es.js b/dist/bundle.es.js index c763a48..1a21407 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -3510,7 +3510,7 @@ function doUpdateChannel(params, cb) { email: params.email, tags: [], replace: true, - languages: [], + languages: params.languages || [], locations: [], blocking: true }; @@ -3525,10 +3525,6 @@ function doUpdateChannel(params, cb) { updateParams.locations = channelClaim.value.locations; } - if (channelClaim && channelClaim.value && channelClaim.value.languages) { - updateParams.languages = channelClaim.value.languages; - } - return lbryProxy.channel_update(updateParams).then(result => { const channelClaim = result.outputs[0]; dispatch({ diff --git a/src/redux/actions/claims.js b/src/redux/actions/claims.js index d74cb32..72286fb 100644 --- a/src/redux/actions/claims.js +++ b/src/redux/actions/claims.js @@ -441,7 +441,7 @@ export function doUpdateChannel(params: any, cb: any) { email: params.email, tags: [], replace: true, - languages: [], + languages: params.languages || [], locations: [], blocking: true, }; @@ -456,10 +456,6 @@ export function doUpdateChannel(params: any, cb: any) { updateParams.locations = channelClaim.value.locations; } - if (channelClaim && channelClaim.value && channelClaim.value.languages) { - updateParams.languages = channelClaim.value.languages; - } - return Lbry.channel_update(updateParams) .then((result: ChannelUpdateResponse) => { const channelClaim = result.outputs[0];