From e0f80a6baea8199190d5a3a142c55118b553dab9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Mar 2017 02:06:24 +0900 Subject: [PATCH] :v: --- src/api/service/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 5c85a87b67..323e064176 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -48,7 +48,7 @@ module.exports = async (app: express.Application) => { const commits = event.commits; post([ `Pushed by **${pusher.name}** with ?[${commits.length} commit${commits.length > 1 ? 's' : ''}](${compare}):`, - commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'), + commits.map(commit => `・[?[${commit.id.substr(0, 7)}](${commit.url})] ${commit.message.split('\n')[0]}`).join('\n'), ].join('\n')); break; case 'refs/heads/release':