fix minor updater bugs

This commit is contained in:
Vendicated 2024-03-30 00:28:15 +01:00
parent 650f4050e1
commit 69b349da77
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 4 additions and 3 deletions

View file

@ -53,7 +53,7 @@ async function calculateGitChanges() {
// github api only sends the long sha
hash: c.sha.slice(0, 7),
author: c.author.login,
message: c.commit.message.substring(c.commit.message.indexOf("\n") + 1)
message: c.commit.message.split("\n")[0]
}));
}