From cc6abf6f5e2b9d9c0292720329f63ca419adabe2 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sat, 18 Mar 2017 01:51:08 +0900
Subject: [PATCH] Fix

---
 src/api/service/github.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/service/github.ts b/src/api/service/github.ts
index c2414930ed..5c85a87b67 100644
--- a/src/api/service/github.ts
+++ b/src/api/service/github.ts
@@ -33,8 +33,8 @@ module.exports = async (app: express.Application) => {
 		const state = event.state;
 		switch (state) {
 			case 'failure':
-				const commit = event.commit.commit;
-				post(`⚠️🚨BUILD FAILED🚨⚠️: ?[${commit.message}](${commit.url})`);
+				const commit = event.commit;
+				post(`⚠️🚨BUILD FAILED🚨⚠️: ?[${commit.commit.message}](${commit.html_url})`);
 				break;
 		}
 	});