five-on-it / apps/api/src/entitlement / sweepEntitlementsEvery
Function: sweepEntitlementsEvery()
sweepEntitlementsEvery(
ctx,log?): () =>void
Defined in: apps/api/src/entitlement.ts:170
Runs the sweep every hour (each account is asked about once a day: those checked more than a day ago), and once at start; returns the function that stops it.
Parameters
ctx
log?
(message) => void
Returns
() => void