diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-01 01:04:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-01 01:04:32 +0900 |
| commit | 2b9e3aba592138abf0920681d67f6c9b739bc9db (patch) | |
| tree | 4d301f3b21711b9277a15dfa57f555652c087657 /src/api/service/github.ts | |
| parent | [Client] Display bot label (diff) | |
| download | sharkey-2b9e3aba592138abf0920681d67f6c9b739bc9db.tar.gz sharkey-2b9e3aba592138abf0920681d67f6c9b739bc9db.tar.bz2 sharkey-2b9e3aba592138abf0920681d67f6c9b739bc9db.zip | |
[Server] Fix bug
Diffstat (limited to 'src/api/service/github.ts')
| -rw-r--r-- | src/api/service/github.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 25f0c9d9ab..e1a465894a 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -34,6 +34,7 @@ module.exports = async (app: express.Application) => { case 'opened': title = 'Issueが立ちました'; break; case 'closed': title = 'Issueが閉じられました'; break; case 'reopened': title = 'Issueが開きました'; break; + default: return; } const text = `${title}: ${event.payload.issue.number}「${event.payload.issue.title}」\n${event.payload.issue.html_url}`; post(text); |