aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain/updater/http.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcMain/updater/http.ts')
-rw-r--r--src/ipcMain/updater/http.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcMain/updater/http.ts b/src/ipcMain/updater/http.ts
index 25dc5ba..cc10631 100644
--- a/src/ipcMain/updater/http.ts
+++ b/src/ipcMain/updater/http.ts
@@ -49,7 +49,7 @@ async function calculateGitChanges() {
const res = await githubGet(`/compare/${gitHash}...HEAD`);
const data = JSON.parse(res.toString("utf-8"));
- return data.commits.map(c => ({
+ return data.commits.map((c: any) => ({
// github api only sends the long sha
hash: c.sha.slice(0, 7),
author: c.author.login,