summaryrefslogtreecommitdiff
path: root/src/api/service/github.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/service/github.ts')
-rw-r--r--src/api/service/github.ts1
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);