youtube: convert cookie to string

This commit is contained in:
wukko 2024-06-07 19:37:01 +06:00
parent f6632e2d61
commit f7b36713e0
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -36,7 +36,7 @@ const cloneInnertube = async (customFetch) => {
innertube.session.api_version,
innertube.session.account_index,
innertube.session.player,
getCookie('youtube'),
getCookie('youtube')?.toString(),
customFetch ?? innertube.session.http.fetch,
innertube.session.cache
);