mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-27 00:13:03 +00:00
[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 '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);
|
||||
|
|
Loading…
Reference in a new issue