Skip to content

Commit

Permalink
Updated last notification time to use current timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
micthiesen committed Oct 27, 2024
1 parent c74817a commit 94c2371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/LiveCheckTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default class LiveCheckTask extends Task {
}

previousMetrics.maxViewerCount = fetchedStatus.viewerCount;
previousMetrics.lastNotificationAt = new Date();
previousMetrics.lastNotificationAt = now;
upsertChannelMetrics(previousMetrics);
this.logger.info(
`Updated all-time max viewer count for ${previousMetrics.username}`,
Expand Down

0 comments on commit 94c2371

Please sign in to comment.