mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 01:22:11 +00:00
fix(HTTPClient): Use the correct constant for the iOS client OS name (#938)
This commit is contained in:
@@ -201,7 +201,7 @@ export default class HTTPClient {
|
||||
ctx.client.clientVersion = Constants.CLIENTS.IOS.VERSION;
|
||||
ctx.client.clientName = Constants.CLIENTS.IOS.NAME;
|
||||
ctx.client.platform = 'MOBILE';
|
||||
ctx.client.osName = Constants.CLIENTS.IOS.NAME;
|
||||
ctx.client.osName = Constants.CLIENTS.IOS.OS_NAME;
|
||||
ctx.client.osVersion = Constants.CLIENTS.IOS.OS_VERSION;
|
||||
delete ctx.client.browserName;
|
||||
delete ctx.client.browserVersion;
|
||||
|
||||
Reference in New Issue
Block a user