HTTP Updater: Only include first commit line

This commit is contained in:
Nuckyz 2024-03-12 20:18:46 -03:00
parent 6a7657de3f
commit bf9a225038
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

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