[Server] Fix bug
This commit is contained in:
parent
acc91fcf91
commit
2b9e3aba59
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ module.exports = async (app: express.Application) => {
|
||||||
case 'opened': title = 'Issueが立ちました'; break;
|
case 'opened': title = 'Issueが立ちました'; break;
|
||||||
case 'closed': title = 'Issueが閉じられました'; break;
|
case 'closed': title = 'Issueが閉じられました'; break;
|
||||||
case 'reopened': 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}`;
|
const text = `${title}: ${event.payload.issue.number}「${event.payload.issue.title}」\n${event.payload.issue.html_url}`;
|
||||||
post(text);
|
post(text);
|
||||||
|
|
Loading…
Reference in a new issue