modified: src/websrv.js
This commit is contained in:
parent
0416434c47
commit
465b843016
|
@ -32,8 +32,6 @@ function Websrv(tbot, tsql, tlib) {
|
||||||
});
|
});
|
||||||
req.on('end', () => {
|
req.on('end', () => {
|
||||||
body = JSON.parse(body);
|
body = JSON.parse(body);
|
||||||
//lib.log(body.commits);
|
|
||||||
|
|
||||||
var eventname = body.event_name;
|
var eventname = body.event_name;
|
||||||
var autor = body.user_name;
|
var autor = body.user_name;
|
||||||
var commit = body.commits[body.commits.length-1].message.replace('\n','').trim();
|
var commit = body.commits[body.commits.length-1].message.replace('\n','').trim();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user