function syncDigestSchedules
syncDigestSchedules(now: Date): void

Brings digest_schedule in line with the settings: a user who turned a cadence off loses its row, and one who receives it without a row, being new or having turned it back on, starts a period at now.

Parameters

now: Date

Return Type

void

Usage

import { syncDigestSchedules } from "api/services/digest-service.ts";