feat(tech-insights): make tokenManager available on FactRetrieverContext

Signed-off-by: Chris Trombley <ctrombley@gmail.com>
This commit is contained in:
Chris Trombley
2022-04-25 18:29:17 -07:00
parent 47bac22cdc
commit a50b6474a7
12 changed files with 60 additions and 10 deletions
@@ -38,6 +38,7 @@ export default async function createPlugin(
database: env.database,
scheduler: env.scheduler,
discovery: env.discovery,
tokenManager: env.tokenManager,
factRetrievers: [
createFactRetrieverRegistration({
cadence: '1 1 1 * *', // Example cron, At 01:01 on day-of-month 1.