test
This commit is contained in:
parent
a886d46064
commit
235fd353c9
@ -34,10 +34,10 @@ function Websrv(tbot, tsql, tlib) {
|
||||
req.on('end', () => {
|
||||
console.log(body);
|
||||
|
||||
//var eventname = body.event_name;
|
||||
//var autor = body.user_name;
|
||||
//var commit = body.commits[body.commits[total_commits_count]-1].message;
|
||||
//bot.log( eventname + ' from ' + autor + ' ('+commit+')' );
|
||||
var eventname = body.event_name;
|
||||
var autor = body.user_name;
|
||||
var commit = body.commits[body.commits[total_commits_count]-1].message;
|
||||
bot.log( eventname + ' from ' + autor + ' ('+commit+')' );
|
||||
});
|
||||
res.writeHead(200, { 'Content-Type': 'text/html' });
|
||||
res.end('muh', 'utf-8');
|
||||
|
Loading…
Reference in New Issue
Block a user