Corrected channel_language
order
This commit is contained in:
parent
035f04fb3e
commit
945a5365f9
1 changed files with 1 additions and 1 deletions
|
@ -70,9 +70,9 @@ export default function YoutubeSync(props: Props) {
|
||||||
Lbryio.call('yt', 'new', {
|
Lbryio.call('yt', 'new', {
|
||||||
type: 'sync',
|
type: 'sync',
|
||||||
immediate_sync: true,
|
immediate_sync: true,
|
||||||
|
channel_language: language,
|
||||||
desired_lbry_channel_name: `@${channel}`,
|
desired_lbry_channel_name: `@${channel}`,
|
||||||
return_url: `https://${DOMAIN}/$/${inSignUpFlow ? PAGES.AUTH : PAGES.YOUTUBE_SYNC}`,
|
return_url: `https://${DOMAIN}/$/${inSignUpFlow ? PAGES.AUTH : PAGES.YOUTUBE_SYNC}`,
|
||||||
channel_language: language,
|
|
||||||
}).then((ytAuthUrl) => {
|
}).then((ytAuthUrl) => {
|
||||||
// react-router isn't needed since it's a different domain
|
// react-router isn't needed since it's a different domain
|
||||||
window.location.href = ytAuthUrl;
|
window.location.href = ytAuthUrl;
|
||||||
|
|
Loading…
Reference in a new issue