Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shrir committed Jan 8, 2025
1 parent 8e2f2d6 commit 01734df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/utils/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function getGitHubRepoDetails(
}
const data = await response.json()

let lastReleasePublishDate: Date
let lastReleasePublishDate: Date | null = null
const releaseResponse = await fetch(url + "/releases")
if (response.ok) {
const releaseData = await releaseResponse.json()
Expand All @@ -34,7 +34,7 @@ export async function getGitHubRepoDetails(
createdAt: data.created_at ? new Date(data.created_at) : null,
updatedAt: data.updated_at ? new Date(data.updated_at) : null,
pushedAt: data.pushed_at ? new Date(data.pushed_at) : null,
lastReleasePublishDate: lastReleasePublishDate
lastReleasePublishedAt: lastReleasePublishDate
? lastReleasePublishDate
: null,
}
Expand Down

0 comments on commit 01734df

Please sign in to comment.