Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

refactor(ts): stop passing arguments to the empty Reddit refresh job

spacesdrive134c2e233842
diff --git a/backend/server.ts b/backend/server.ts
index 3086816..7055e10 100644
--- a/backend/server.ts
+++ b/backend/server.ts
@@ -69,7 +69,7 @@ export default {
ctx.waitUntil(processScheduledPosts(supabase));
} else if (event.cron === '0 0 * * *') {
ctx.waitUntil(autoRefreshInstagramTokens(supabase));
- ctx.waitUntil(autoRefreshRedditSessions(supabase, env.REDDIT_ENCRYPTION_KEY));
+ ctx.waitUntil(autoRefreshRedditSessions());
}
},
} satisfies ExportedHandler<Env>;