[Server] Fix bug

This commit is contained in:
syuilo 2017-02-01 01:04:32 +09:00
parent acc91fcf91
commit 2b9e3aba59
1 changed files with 1 additions and 0 deletions

View File

@ -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);