mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-13 08:42:31 +00:00
chore(protos): Enable removeEnumPrefix ts-proto option (#24)
This commit is contained in:
@@ -245,7 +245,7 @@ async function getBasicInfo(innertube: Innertube, videoId: string): Promise<YT.V
|
||||
await decryptResponse(iv, hmac, responseData, clientConfig.clientKeyData) : responseData!;
|
||||
const response = Protos.OnesiePlayerResponse.decode(decryptedData);
|
||||
|
||||
if (response.onesieProxyStatus !== Protos.OnesieProxyStatus.ONESIE_PROXY_STATUS_OK)
|
||||
if (response.onesieProxyStatus !== Protos.OnesieProxyStatus.OK)
|
||||
throw new Error('Onesie proxy status not OK');
|
||||
|
||||
if (response.httpStatus !== 200)
|
||||
|
||||
Reference in New Issue
Block a user