diff --git a/src/worker/index.ts b/src/worker/index.ts index 235a21d..929f3e6 100644 --- a/src/worker/index.ts +++ b/src/worker/index.ts @@ -13,7 +13,7 @@ import { Worker, Queue } from 'bullmq' import { PrismaClient } from '@prisma/client' import { getPostsData } from '../lib/mastodon' -import { calcPrice, calcTrade, dailyResearchPoints, calcFundNav } from '../lib/pricing' +import { calcPrice, calcTrade, dailyResearchPoints, calcFundNav, round2 } from '../lib/pricing' // ── Connection options ──────────────────────────────────────────────────────── // Use plain connection options so BullMQ uses its own bundled ioredis,