mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-04-09 16:19:25 -07:00
fix(ci): align rollup timestamp types with DB millis strings
This commit is contained in:
@@ -139,7 +139,7 @@ function resetRollups(db: DatabaseSync): void {
|
||||
function upsertDailyRollupsForGroups(
|
||||
db: DatabaseSync,
|
||||
groups: Array<{ rollupDay: number; videoId: number }>,
|
||||
rollupNowMs: bigint,
|
||||
rollupNowMs: string,
|
||||
): void {
|
||||
if (groups.length === 0) {
|
||||
return;
|
||||
@@ -212,7 +212,7 @@ function upsertDailyRollupsForGroups(
|
||||
function upsertMonthlyRollupsForGroups(
|
||||
db: DatabaseSync,
|
||||
groups: Array<{ rollupMonth: number; videoId: number }>,
|
||||
rollupNowMs: bigint,
|
||||
rollupNowMs: string,
|
||||
): void {
|
||||
if (groups.length === 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user