forgot to generate innertubeClient at the start
This commit is contained in:
parent
530b58ee92
commit
3a2d6e0997
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if (konfigStore.get("jobs.youtube_session.enabled") as boolean) {
|
|||
innertubeClient = await poTokenGenerate(innertubeClient, konfigStore);
|
||||
});
|
||||
} else {
|
||||
await Innertube.create();
|
||||
innertubeClient = await Innertube.create();
|
||||
Deno.cron("regenerate visitordata", konfigStore.get("jobs.youtube_session.frequency") as string, async () => {
|
||||
innertubeClient = await Innertube.create();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue