diff --git a/convex/crons.ts b/convex/crons.ts index 0b5d2814..4de9c6a2 100644 --- a/convex/crons.ts +++ b/convex/crons.ts @@ -1,12 +1,12 @@ import { cronJobs } from "convex/server" -import { internal } from "./_generated/api" +import { api } from "./_generated/api" const crons = cronJobs() crons.interval( "ebay-manual-parts-refresh", { hours: 24 }, - internal.ebay.refreshCache, + api.ebay.refreshCache, { reason: "cron" } )