diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-18 01:51:08 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-18 01:51:08 +0900 |
| commit | cc6abf6f5e2b9d9c0292720329f63ca419adabe2 (patch) | |
| tree | 05072d64c84a0cfce33e7fdf7cd5cb14d457d637 /src/api | |
| parent | 🚨 (diff) | |
| download | sharkey-cc6abf6f5e2b9d9c0292720329f63ca419adabe2.tar.gz sharkey-cc6abf6f5e2b9d9c0292720329f63ca419adabe2.tar.bz2 sharkey-cc6abf6f5e2b9d9c0292720329f63ca419adabe2.zip | |
Fix
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/service/github.ts | 4 |
1 files 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; } }); |