fixing toml
This commit is contained in:
parent
2a9a65f6d7
commit
530b58ee92
2 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@ enabled = true
|
|||
#proxy = ""
|
||||
|
||||
[jobs]
|
||||
[youtube_session]
|
||||
|
||||
[jobs.youtube_session]
|
||||
po_token_enabled = true
|
||||
frequency = "*/5 * * * *"
|
|
@ -10,7 +10,7 @@ const konfigStore = await konfigLoader();
|
|||
|
||||
let innertubeClient: Innertube;
|
||||
|
||||
if (konfigStore.get("jobs.po_token.enabled") as boolean) {
|
||||
if (konfigStore.get("jobs.youtube_session.enabled") as boolean) {
|
||||
innertubeClient = await Innertube.create({ retrieve_player: false });
|
||||
innertubeClient = await poTokenGenerate(innertubeClient, konfigStore);
|
||||
Deno.cron("regenerate poToken", konfigStore.get("jobs.youtube_session.frequency") as string, async () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue