fix(http): android tv http client missing clientName (#370)

This commit is contained in:
Araxeus
2023-03-23 00:45:37 +02:00
committed by GitHub
parent bd35faa597
commit cb8fafe94b

View File

@@ -169,6 +169,7 @@ export default class HTTPClient {
ctx.client.androidSdkVersion = Constants.CLIENTS.ANDROID.SDK_VERSION;
break;
case 'TV_EMBEDDED':
ctx.client.clientName = Constants.CLIENTS.TV_EMBEDDED.NAME;
ctx.client.clientVersion = Constants.CLIENTS.TV_EMBEDDED.VERSION;
ctx.client.clientScreen = 'EMBED';
ctx.thirdParty = { embedUrl: Constants.URLS.YT_BASE };