chore(onesie-example): Fix duplicate & in the /initplayback URL

This commit is contained in:
Luan
2024-11-02 09:20:40 -03:00
parent a6eb8821cb
commit 175264b1c3

View File

@@ -166,10 +166,10 @@ async function getBasicInfo(innertube: Innertube, videoId: string): Promise<YT.V
const queryParams = [];
queryParams.push(`id=${onesieRequest.encodedVideoId}`);
queryParams.push('&opr=1');
queryParams.push('&por=1');
queryParams.push('&rn=1');
queryParams.push('&cmo:sensitive_content=yes');
queryParams.push('opr=1');
queryParams.push('por=1');
queryParams.push('rn=1');
queryParams.push('cmo:sensitive_content=yes');
url += `&${queryParams.join('&')}`;