Skip to content

Commit

Permalink
oopsie 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedegeofroy committed Oct 15, 2024
1 parent 5f90e16 commit b9c17e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github-stats/github-stats.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class GithubStatsController {
const currentCount =
(await this.statsService.findLatest()).find(
(x) => x.stat_id == 'github_commit_count'
).count ?? 0;
)?.count ?? 0;

const updatedCount = currentCount + 1;

Expand Down

0 comments on commit b9c17e2

Please sign in to comment.