modeline, formatting, cleanup of attachments

This commit is contained in:
Vladimir Vitkov 2022-08-12 12:06:53 +03:00
parent 817a367367
commit 4597eebb18
1 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,5 @@
/* /*
* vim: set syntax=javascript ts=2 sw=2 sts=2 et :
* JS script to handle incomming github webhooks * JS script to handle incomming github webhooks
*/ */
@ -184,7 +185,6 @@ const githubEvents = {
}; };
attachment.author_name = commits[i].author.name; attachment.author_name = commits[i].author.name;
attachment.text = commits[i].message;
attachment.title_link = commits[i].url; attachment.title_link = commits[i].url;
attachment.title = commits[i].message; attachment.title = commits[i].message;
atts.push(attachment); atts.push(attachment);
@ -197,7 +197,6 @@ const githubEvents = {
} }
}; };
} }
}; };
class Script { class Script {