fix: include thirdParty prop for requests using TV_EMBEDDED (#198)

* dev: update `Context` interface

* dev: include `thirdParty` prop in requests using `TV_EMBEDDED`
This commit is contained in:
LuanRT
2022-09-18 16:58:51 -03:00
committed by GitHub
parent fcbdae3e34
commit affbe84284
4 changed files with 7 additions and 3 deletions

View File

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